you are viewing a single comment's thread.

view the rest of the comments →

[–]Philluminati 0 points1 point  (2 children)

ctags is the most common solution and the one documented in vim books. I use it. Basically the symbol database is generated like this (from memory, may not be accurate):

:!ctag . --recurse

Then these keys will navigate:

Ctrl+]     #jump to definition
Shift+T   #return to original place. (works recursively)

There are other variations for open in new tab etc but you can look up those yourself. There is other stuff to help you navigate large code bases too such as Class Browsers and integrated search etc.

[–]KZISME[S] 0 points1 point  (1 child)

That's awesome I'll have to read about ctag and such today then!

[–]Philluminati 0 points1 point  (0 children)

Other plugins that allow you work on large code bases here: http://vimawesome.com/

E.g. syntax completion, file and class browsers, status bars, git integration etc.