Skip to content

Instantly share code, notes, and snippets.

@jhsu
Created March 15, 2012 20:45
Show Gist options
  • Save jhsu/2046790 to your computer and use it in GitHub Desktop.
Save jhsu/2046790 to your computer and use it in GitHub Desktop.
mac os x ctags

ctags tips

Install ctags

brew install ctags-exuberant

Index tags

While in the root of the project

/usr/local/bin/ctags --exclude=.git --exclude=log -R * ~/.rvm/gems/`rvm current`/*

Useful commands

  • Jump to method definition: highlight method, ctr+]
  • Return to method call: ctr+t
  • Next instance: :tn
  • Previous instance: :tp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment