http://blog.csdn.net/bokee/article/details/6633193
/etc/vim/vimrc
添加
map <C-F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
set tags=./tags,tags; //解决只在当前目录查找 tags 文件
找到多个,
:tn[ext] goes to the next tag, :tp[revious] goes to the previous one. :ts[elect] gives you a list to choose from.
:help tag-matchlist for more fun and exciting things to try!
ctags -R * //生成 ctags 文件
http://www.cnblogs.com/xianfish/archive/2010/08/20/vim.html