diff options
author | yushyin <yushyin@saga> | 2016-11-27 12:56:12 +0100 |
---|---|---|
committer | yushyin <yushyin@saga> | 2016-11-27 12:56:12 +0100 |
commit | f5efb20b4c820121d29814fec8f7296ffc9913ae (patch) | |
tree | 647f2bf94d5ae0cd33aee78125f995b3088e253e | |
parent | cfc47552f356e07c52728f8c71014bee5c5216c5 (diff) | |
download | dotfiles-f5efb20b4c820121d29814fec8f7296ffc9913ae.tar.gz dotfiles-f5efb20b4c820121d29814fec8f7296ffc9913ae.tar.xz |
Vim: Replace tabular with vim-easy-align
-rw-r--r-- | vim/neobundle.toml | 11 | ||||
-rw-r--r-- | vim/vimrc | 4 |
2 files changed, 10 insertions, 5 deletions
diff --git a/vim/neobundle.toml b/vim/neobundle.toml index 7bb13a2..623b872 100644 --- a/vim/neobundle.toml +++ b/vim/neobundle.toml @@ -61,11 +61,6 @@ repository = 'tpope/vim-fugitive' lazy = 0 [[plugins]] -repository = 'godlygeek/tabular' -lazy = 1 -on_cmd = 'Tabularize' - -[[plugins]] repository = 'majutsushi/tagbar' lazy = 1 augroup = 'TagbarSession' @@ -129,3 +124,9 @@ repository = 'MarcWeber/vim-addon-local-vimrc' [[plugins]] repository = 'Shougo/vinarise.vim' on_cmd = 'Vinarise' + +[[plugins]] +repository = 'junegunn/vim-easy-align' +lazy = 1 +on_cmd = ['EasyAlign', 'LiveEasyAlign'] +on_map = '<Plug>(EasyAlign)' @@ -79,6 +79,10 @@ if neobundle#tap('vim-racer') let $RUST_SRC_PATH= $XDG_DATA_HOME . '/rustc_src_latest/src/' endfunction endif +if neobundle#tap('vim-easy-align') + nmap ga <Plug>(EasyAlign) + call neobundle#untap() +endif if neobundle#tap('vim-addon-local-vimrc') let g:local_vimrc = {'names':['.lvimrc'],'hash_fun':'LVRHashOfFile'} call neobundle#untap() |