Settings

Theme

Vim and Ctags tips and tricks

stackoverflow.com

36 points by g3orge 13 years ago · 10 comments

Reader

fafner 13 years ago

Give GNU Global a try http://www.gnu.org/software/global/

https://github.com/OpenGrok/OpenGrok/wiki/Comparison-with-Si...

  • tux1968 13 years ago

    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.

    • ibotty 13 years ago

      it's in fedora and debian (package name global). what distro do you use? it seems easy to package...

  • looklookatme 13 years ago

    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 13 years ago

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 13 years ago

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 13 years ago

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 13 years ago

    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.

    • dwc 13 years ago

      The better market opportunity would be SE that figured out a way to serve their customer base better. Splintering isn't always the best answer. For instance, the very valid "meta is murder" ideas lead SE to ban meta, and the need for meta led them to create a separate place to discuss meta issues for SE. But...it wasn't the SE community having the meta discussions then. It was a separate community with some overlap. IMO it was a bad move. To be fair, doing it right is an unsolved problem.

    • johncoltrane 13 years ago

      http://programmers.stackexchange.com/

      is that site.

      > Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection