Reputation: 4951
I have created a tags file using ctags in my source code directory. Now, how can I use it with vim? If I open a file and press ctrl-] on a variable or function name, vim says: E426: tag not found: variable1
Upvotes: 1
Views: 3000
Reputation: 182878
:set tags=/home/ptomblin/ctags,/usr/local/src/ctags
You can put that in your main .vimrc file.
Upvotes: 2