diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/neobundle.toml | 10 | ||||
-rw-r--r-- | vim/vimrc | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/vim/neobundle.toml b/vim/neobundle.toml index 68f7c87..c7aea3a 100644 --- a/vim/neobundle.toml +++ b/vim/neobundle.toml @@ -118,3 +118,13 @@ repository = 'junegunn/vim-easy-align' lazy = 1 on_cmd = ['EasyAlign', 'LiveEasyAlign'] on_map = '<Plug>(EasyAlign)' + +[[plugins]] +repository = 'kana/vim-operator-user' +lazy = 1 +on_source = 'vim-operator-surround' + +[[plugins]] +repository = 'rhysd/vim-operator-surround' +lazy = 1 +on_map = ['n', '<Plug>'] @@ -82,6 +82,12 @@ if neobundle#tap('vim-easy-align') nmap ga <Plug>(EasyAlign) call neobundle#untap() endif +if neobundle#tap('vim-operator-surround') + nmap <silent>sa <Plug>(operator-surround-append) + nmap <silent>sd <Plug>(operator-surround-delete) + nmap <silent>sr <Plug>(operator-surround-replace) + call neobundle#untap() +endif if neobundle#tap('vim-addon-local-vimrc') let g:local_vimrc = {'names':['.lvimrc'],'hash_fun':'LVRHashOfFile'} call neobundle#untap() |