summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2016-11-27 12:56:12 +0100
committeryushyin <yushyin@saga>2016-11-27 12:56:12 +0100
commitf5efb20b4c820121d29814fec8f7296ffc9913ae (patch)
tree647f2bf94d5ae0cd33aee78125f995b3088e253e /vim
parentcfc47552f356e07c52728f8c71014bee5c5216c5 (diff)
downloaddotfiles-f5efb20b4c820121d29814fec8f7296ffc9913ae.tar.gz
dotfiles-f5efb20b4c820121d29814fec8f7296ffc9913ae.tar.xz
Vim: Replace tabular with vim-easy-align
Diffstat (limited to 'vim')
-rw-r--r--vim/neobundle.toml11
-rw-r--r--vim/vimrc4
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)'
diff --git a/vim/vimrc b/vim/vimrc
index a9676da..6f79be6 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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()