记录学习过程中的点点滴滴
vim插件之TagList安装与使用方法
TagList功能:高效地浏览源码, 其功能就像vc中的workpace, 那里面列出了当前文件中的所有宏,全局变量, 函数名等.
安装方法:
1,下载:http://vim-taglist.sourceforge.net/download.html
2, 解压下载文件,将plugin/taglist.vim 拷贝到 $HOME/.vim/plugin/taglist.vim
doc/taglist.txt 拷贝到 $HOME/.vim/doc/taglist.txt
3,配置.vimrc文件,加入下面几行配置
” 设置TList
let Tlist_Use_LEFT_Window=1
let Tlist_File_Fold_Auto_Close=1
let Tlist_Show_One_File=1
let Tlist_GainFocus_On_ToggleOpen=1
let Tlist_Exit_OnlyWindow=1
let g:winManagerWindowLayout=’FileExplorer’
nmap tl :Tlist<cr>
4,使用:打开一个代码文件,输入tl 即可看到该文件的代码结构
总之,VIM很强大呀
本文地址:http://www.yaronspace.cn/blog/index.php/archives/569
最多留言日志
这篇文章由admin于2010 年 04 月 29 日 11:03发表在未分类。你可以订阅RSS 2.0 也可以发表评论或引用到你的网站。 |
大约10年前
Hi I found your site by mistake when i was searching Google for this issue, I have to say your site is really helpful I also love the theme, its amazing!. I dont have that much time to read all your post at the moment but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site.