This commit is contained in:
Nachuan Tang
2022-10-26 00:11:58 -04:00
2 changed files with 9 additions and 16 deletions
+1
View File
@@ -4,3 +4,4 @@
.vim/
autoload/
node_modules/
tags
+8 -16
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
@@ -391,7 +383,7 @@ endif
highlight CocInfoSign ctermbg=none
highlight CocHintSign ctermbg=none
if g:theme_color == 'dark'
highlight! link TempColor Pmenu
highlight! link TempColor Visual
highlight! link CocFloating TempColor
highlight! link CocErrorFloat TempColor
highlight! link CocWarningFloat TempColor