Tuesday, 22 November 2016

How to use ctags (basics) ?



jtony@genoa:~/src/llvm$ ctags -R .
if you want to just to a definition of a funciton, move the cursor to the function and press ctrl + ]
If there is only one match, it will take you there. If there are multiple matches, it will list them all,
letting you choose the one you want, just like :tselect. The best of both worlds. :)

if you want to go back where you jumped from, press ctrl + t

No comments:

Post a Comment