diff options
author | yushyin <yushyin@saga> | 2016-11-27 14:30:33 +0100 |
---|---|---|
committer | yushyin <yushyin@saga> | 2016-11-27 14:30:33 +0100 |
commit | 1e934844e94acfcba419f2f02d3b75ed50f763c3 (patch) | |
tree | 115571cb969c8282ea27a910d86e4bea6e38fb61 | |
parent | 00b9334e50db865c4e9151870201554c55c71a69 (diff) | |
download | dotfiles-master.tar.gz dotfiles-master.tar.xz |
-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() |