How to navigate in large project in VIM

editor, vim

Solution

VIM has excellent support for tags. Once you have created a tags file for your project, you can jump to a definition or declaration of a method, class, etc., including jumping across files, all inside the same editing session.

Try

:help tags

To generate a tags file for C/C++, go to your shell prompt (I'm assuming your system is *nix/Cygwin) and type

info ctags

or

ctags --help

Problem

How do you manage big projects (hundreds of files) using only VIM? I personally start having problems in any larger than small project. - is there any way to quickly 'go to file', preferably with name completition? - same for 'go to class definition', when it is in another file I kinda know all the VIM basics, so I don't have problem using it for writing scripts or quick editing some source code. But it gets really messy for me when I have to navigate between files.

Original source