Exuberant Ctags is an external utility that generates tag files. Ctags is available at the following link: http://ctags.sourceforge.net.
If you're on a Debian-flavored distribution, you can install Exuberant Ctags by running sudo apt-get install ctags.
Ctags introduces a ctags binary, which allows you to generate a tags file for your code base. Let's navigate to our project and try it out:
$ ctags -R .
This creates a tags file in the directory you're in.
You may want to set the following option in your .vimrc file:
set tags=tags; " Look for a tags file recursively in " parent directories.
This will make sure that Vim looks for the tags file recursively in parent directories to allow ...