diff --git a/my_configs.vim b/my_configs.vim index a3351bb1..a3f62c36 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -57,10 +57,18 @@ map t9 :tabnext 9 " Mac 下不可用 map :tabprev map :tabnext + " mapping :tlist to ,tg -map tg :TlistOpen +" map tg :TlistOpen " add current file to tlist -map ta :TlistAddFiles % +" map ta :TlistAddFiles % + +" use tagbar to instead of taglist +let g:tagbar_left = 1 +let g:tagbar_width = 30 +let g:tagbar_autofocus = 1 +map tg :TagbarToggle + " Set line number set number " set cursorline and cursorcolumn diff --git a/sources_forked/tagbar b/sources_forked/tagbar new file mode 160000 index 00000000..7b36c46d --- /dev/null +++ b/sources_forked/tagbar @@ -0,0 +1 @@ +Subproject commit 7b36c46d17d57db34fdb0adac9ba6382d0bb5e66