X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/24c7594d62d8d7fbbcdb64b11ce4adc5d8e6991a..f32a7c8693a80f2c04c0512eda9ec92fc67d890b:/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()