top | item 5926886

Vim and Ctags tips and tricks

36 points| g3orge | 12 years ago |stackoverflow.com | reply

10 comments

order
[+] fafner|12 years ago|reply
[+] tux1968|12 years ago|reply
Thanks for posting this. Am surprised to have not heard of this project before. It's a bit disappointing that it's not included in either of the Distro's that I use regularly. And even worse that the source for the project is maintained in CVS. It seems like perhaps the project is a tad neglected.
[+] looklookatme|12 years ago|reply
Thanks for highlighting this; I took it out for a spin and wow it's fast. I normally find myself working on projects with tens of thousands of files and I've never really been happy with the few seconds it can take ctags to locate a definition or to tab-complete something. Though it seems like gtags is missing a couple of output-related options, the speed of lookup is a significant improvement.
[+] IvarTJ|12 years ago|reply
In addition to Ctrl+T to go back from a definition, Ctrl+O also seems to work, which I find more ergonomic on Qwerty.
[+] mangamadaiyan|12 years ago|reply
I find it useful to display the output of tag commands in a location list rather than the default vim pager. (Use "ltag" instead of "tag" from the vim command line).
[+] adnam|12 years ago|reply
Before clicking this link, I wager that it's already been closed as "not constructive" by zealot S.O. mods.

Edit: yep. Thanks Kev, good work!

[+] DanBC|12 years ago|reply
To be fair SE have made it clear that they don't want that type of question there, so at least they're consistent.

I'm surprised that HN hasn't spotted the market opportunity for a site like SE but allowing only non-specific discussion style questions.