Skip to content

Instantly share code, notes, and snippets.

@aquabu
Created January 24, 2011 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aquabu/793783 to your computer and use it in GitHub Desktop.
Save aquabu/793783 to your computer and use it in GitHub Desktop.
generate rails ctags for vim
# would be cool to write a script to lookup all the gems in the project and index them...
# activerecord manually included below
ctags -f /Your/rails/project/root/tmp/tags --exclude="*.js" --exclude="*.log" --langmap="ruby:+.rake.builder.rjs" -R /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.8 -R /Your/rails/project/root
sort /Your/rails/project/root/tmp/tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment