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