apt-get install exuberant-ctags
2. Under the folder of project
Type ctags -R
3. Define the shortcut key to start ctags
vim ~/.vimrc
map <C-F12> :set tags=tags;/ <CR>
Another shortcut key
map <F7> :set number!<CR>
map <F9> :set paste!<CR>
Reference:
- 将Vim改造为强大的IDE—Vim集成Ctags/Taglist/Cscope/Winmanager/NERDTree/OmniCppComplete(有图有真相)
- Ubuntu安裝Vim Plugin ctags及taglist
0 意見:
張貼留言