This is an old revision of the document!
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>