Bryan Says...

Rants, opinions, and other stuff I find interesting.

Using ctags in vim

Previously, I shared a method to have git create a ctags file for you. Now we need to use our tags.


Using ctags in vim from Bryan Liles on Vimeo.

Not-so-complete cheat sheet:

^] – find a tag

^T – go backwards

:tags – show where you’ve been

:tag – go somewhere in your tag stack

:tselect or g] – show where something is referenced

^W-] – find a tag in a split window

You can also have a look at the vim help by running:
help :tags

  • http://blog.shingara.fr shingara

    It's really awesome. but I have some issue. It's seem can't works with method with ? into like admin?

    Have you an idea what's happen ?

  • http://smartic.us bryanl

    This most likely means your vim-ruby configuration isn't up to date. Either get the latest from http://github.com/vim-ruby/vim-ruby or you can start watching my vim config at http://github.com/bryanl/vimconfig