]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - atom/packages/vim-surround/lib/vim-surround.coffee
Remove vim-unimpaired plugin
[rbdr/dotfiles] / atom / packages / vim-surround / lib / vim-surround.coffee
index b9fd33258f69698e213c0ad0a1c3a48b552efa48..f2931946bf8f935f0da922d45e6fa4c891a3b0c9 100644 (file)
@@ -20,6 +20,9 @@ module.exports =
     surroundCommand:
       type: 'string'
       default: 's'
+    deleteCommand:
+      type: 'string'
+      default: 'd s'
 
   activate: (state) ->
     @commandClasses = [
@@ -37,5 +40,6 @@ module.exports =
         @commands.push command
         @disposables.add command.disposables
 
-  deactivate: () ->
-    @disposables.dispose()
+  consumeVimMode: (vimMode) -> @vimMode = vimMode
+
+  deactivate: () -> @disposables.dispose()