X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/24c7594d62d8d7fbbcdb64b11ce4adc5d8e6991a..6f0ffa58a34f6837bb6b3845c7c9dcdc4241b635:/atom/packages/vim-surround/lib/vim-surround.coffee 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()