主頁:http://www.vim.org/scripts/script.php?script_id=273
The "Tag List" plugin is a source code browser plugin for Vim and
provides an overview of the structure of source code files and allows
you to efficiently browse through source code files for different
programming languages. You can visit the taglist plugin home page for
more information:
http://vim-taglist.sourceforge.net
大意是使用Taglist可以讓你更快地通過一些符號來瀏覽代碼。
安裝:
1.將下載到的taglist_XX.zip解壓到~/.vim
2.在vim配置文件中添加
"taglist set up begin
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
"taglist set up end
使用:
使用vim打開文件在低行模式執行
:Tlist
就可以在vim左邊打開一個taglist窗口,用鼠標點擊符號標籤就可以跳轉到它的定義處。
效果:
參考文檔:http://blog.csdn.net/wooin/article/details/1858917