From 93f5a7985dad2dfc4289ff02686a5138a0fe1a3c Mon Sep 17 00:00:00 2001 From: Nachuan Tang Date: Tue, 25 Oct 2022 22:30:53 -0400 Subject: [PATCH] add plugins --- .gitignore | 1 + .vimrc.bundles | 22 +++++++--------------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index ef3c6c4..cfb5e0e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ .vim/ autoload/ node_modules/ +tags diff --git a/.vimrc.bundles b/.vimrc.bundles index 70a8fa0..08e7723 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -38,7 +38,6 @@ Plug 'scrooloose/nerdtree' - Plug 'godlygeek/tabular' " for markdown{ Plug 'preservim/vim-markdown' "} @@ -79,6 +78,8 @@ " put text in neibouring tmux pane into auto complete Plug 'wellle/tmux-complete.vim' + Plug 'ludovicchabant/vim-gutentags' + " only work with nvim > 0.5 " For other versions, just loading the plugin may " cause error @@ -132,6 +133,11 @@ if g:vim_type == 'nvim' endif " } + " ludovicchabant/vim-gutentags { + set statusline+=%{gutentags#statusline()} + let g:gutentags_cache_dir=g:vim_dir . '/.vimtags/' + "} + " easymotion/vim-easymotion { " f{char} to move to {char} @@ -182,20 +188,6 @@ endif endif " } - " godlygeek/tabular { - if isdirectory(expand(plugin_dir . "/tabular")) - nmap t= :Tabularize /= - vmap t= :Tabularize /= - - nmap t\| :Tab /\| - vmap t\| :Tab /\| - - nmap t: :Tab /:\zs - vmap t: :Tab /:\zs - endif - - " } - " NerdTree { if isdirectory(expand(plugin_dir . "/nerdtree")) let g:NERDShutUp=1