coding:vim:source_nav
VIM & Source-code Navigating
Install ctags
ctags -R
vim
Press ctrl+] to jump to the definition of the item under the cursor
Taglist
Install ctags
-
vim
:TlistToggle
to open the taglist side-bar
Browse / edit files as usual and watch the side-bar populate
Cscope
Install cscope
Optionally, create a cscope.files text-file containing the files you want to index
cscope -b -q
to generate DB (from cscope.files if present)
vim
:cscope show
to check DB loaded successfully
:cscope find global <cWORD>
coding/vim/source_nav.txt · Last modified: 2009/06/17 16:59 by robm