CTags vim multiple projects Feb 14 2018
If you have to reference multiple directories on your ctags do the following.
Generate CTags for all of your projects, from your project's root
1 ctags -R .
this will generate a file tags, add it to the git ignore
1 echo "tags" >> ~/.gitignore_global
Now configure your vimrc to search current dir, then add other the tag files from your other projects
1 set tags=./tags,$HOME/project1/tags,$DEVPATH/project2/tags
Now you can go to the root of all of your projects open vim and
Ctrl-t all you like
If you would like vim to search on the local directory and then go searching to parent directory onwards until root add
/ to your tags variable:
1 set tags=./tags,/