add plugins
This commit is contained in:
@@ -4,3 +4,4 @@
|
|||||||
.vim/
|
.vim/
|
||||||
autoload/
|
autoload/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
tags
|
||||||
|
|||||||
+7
-15
@@ -38,7 +38,6 @@
|
|||||||
|
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
|
|
||||||
Plug 'godlygeek/tabular'
|
|
||||||
" for markdown{
|
" for markdown{
|
||||||
Plug 'preservim/vim-markdown'
|
Plug 'preservim/vim-markdown'
|
||||||
"}
|
"}
|
||||||
@@ -79,6 +78,8 @@
|
|||||||
" put text in neibouring tmux pane into auto complete
|
" put text in neibouring tmux pane into auto complete
|
||||||
Plug 'wellle/tmux-complete.vim'
|
Plug 'wellle/tmux-complete.vim'
|
||||||
|
|
||||||
|
Plug 'ludovicchabant/vim-gutentags'
|
||||||
|
|
||||||
" only work with nvim > 0.5
|
" only work with nvim > 0.5
|
||||||
" For other versions, just loading the plugin may
|
" For other versions, just loading the plugin may
|
||||||
" cause error
|
" cause error
|
||||||
@@ -132,6 +133,11 @@ if g:vim_type == 'nvim'
|
|||||||
endif
|
endif
|
||||||
" }
|
" }
|
||||||
|
|
||||||
|
" ludovicchabant/vim-gutentags {
|
||||||
|
set statusline+=%{gutentags#statusline()}
|
||||||
|
let g:gutentags_cache_dir=g:vim_dir . '/.vimtags/'
|
||||||
|
"}
|
||||||
|
|
||||||
" easymotion/vim-easymotion {
|
" easymotion/vim-easymotion {
|
||||||
|
|
||||||
" <Leader>f{char} to move to {char}
|
" <Leader>f{char} to move to {char}
|
||||||
@@ -182,20 +188,6 @@ endif
|
|||||||
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 {
|
" NerdTree {
|
||||||
if isdirectory(expand(plugin_dir . "/nerdtree"))
|
if isdirectory(expand(plugin_dir . "/nerdtree"))
|
||||||
let g:NERDShutUp=1
|
let g:NERDShutUp=1
|
||||||
|
|||||||
Reference in New Issue
Block a user