use tagbar to instead of taglist
This commit is contained in:
parent
51eaec9f85
commit
3fef1a3360
2 changed files with 11 additions and 2 deletions
|
@ -57,10 +57,18 @@ map <leader>t9 :tabnext 9<cr>
|
||||||
" Mac 下不可用
|
" Mac 下不可用
|
||||||
map <M-u> :tabprev<cr>
|
map <M-u> :tabprev<cr>
|
||||||
map <M-i> :tabnext<cr>
|
map <M-i> :tabnext<cr>
|
||||||
|
|
||||||
" mapping :tlist to ,tg
|
" mapping :tlist to ,tg
|
||||||
map <leader>tg :TlistOpen<cr>
|
" map <leader>tg :TlistOpen<cr>
|
||||||
" add current file to tlist
|
" add current file to tlist
|
||||||
map <leader>ta :TlistAddFiles %<cr>
|
" map <leader>ta :TlistAddFiles %<cr>
|
||||||
|
|
||||||
|
" use tagbar to instead of taglist
|
||||||
|
let g:tagbar_left = 1
|
||||||
|
let g:tagbar_width = 30
|
||||||
|
let g:tagbar_autofocus = 1
|
||||||
|
map <leader>tg :TagbarToggle<cr>
|
||||||
|
|
||||||
" Set line number
|
" Set line number
|
||||||
set number
|
set number
|
||||||
" set cursorline and cursorcolumn
|
" set cursorline and cursorcolumn
|
||||||
|
|
1
sources_forked/tagbar
Submodule
1
sources_forked/tagbar
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 7b36c46d17d57db34fdb0adac9ba6382d0bb5e66
|
Loading…
Reference in a new issue