X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/24c7594d62d8d7fbbcdb64b11ce4adc5d8e6991a..f2dfb1a5a17c8c94598d6ea26587923cd217f00e:/atom/packages/vim-surround/lib/vim-surround.coffee?ds=inline diff --git a/atom/packages/vim-surround/lib/vim-surround.coffee b/atom/packages/vim-surround/lib/vim-surround.coffee index b9fd332..f293194 100644 --- a/atom/packages/vim-surround/lib/vim-surround.coffee +++ b/atom/packages/vim-surround/lib/vim-surround.coffee @@ -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()