From 3fef1a3360a3bdaf91f40d13eea6b77aed46b3c4 Mon Sep 17 00:00:00 2001 From: Tiande Date: Wed, 30 Dec 2015 15:42:30 +0800 Subject: [PATCH] use tagbar to instead of taglist --- my_configs.vim | 12 ++++++++++-- sources_forked/tagbar | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) create mode 160000 sources_forked/tagbar 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