add plugins

This commit is contained in:
Nachuan Tang
2022-10-25 22:30:53 -04:00
parent c7edc72aa3
commit 93f5a7985d
2 changed files with 8 additions and 15 deletions
+1
View File
@@ -4,3 +4,4 @@
.vim/
autoload/
node_modules/
tags
+7 -15
View File
@@ -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 {
" <Leader>f{char} to move to {char}
@@ -182,20 +188,6 @@ endif
endif
" }
" godlygeek/tabular {
if isdirectory(expand(plugin_dir . "/tabular"))
nmap <leader>t= :Tabularize /=<CR>
vmap <leader>t= :Tabularize /=<CR>
nmap <leader>t\| :Tab /\|<CR>
vmap <leader>t\| :Tab /\|<CR>
nmap <leader>t: :Tab /:\zs<CR>
vmap <leader>t: :Tab /:\zs<CR>
endif
" }
" NerdTree {
if isdirectory(expand(plugin_dir . "/nerdtree"))
let g:NERDShutUp=1