主页: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