====== VIM & Source-code Navigating ====== * ''set iskeyword+=-'' to allow hyphens in function/variables names (as used by ''ctrl+]''). Handy for working with Makefiles and shell-scripts ===== Exuberant ctags ===== - Install ''ctags'' - ''ctags -R'' - ''vim'' - Press ctrl+] to jump to the definition of the item under the cursor ===== Taglist ===== - Install ''ctags'' - Install [[http://vim-taglist.sourceforge.net/|TagList]] plugin for VIM - ''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 '' * Mapped to "ctrl+, g" by default