Use this page to discuss script 1567 rails: Ruby on Rails: easy file navigation, enhanced syntax highlighting, and more

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

Comments[edit source]

I'm not sure why, but the default presence of the menu supplied by rails.vim is


I've changed it locally on my Mac (OS X, 10.6.2) to


And I've found no ill effects so far. -R

Ruby 1.9 new hash syntax doesn't get highlighted. It would be great to have that. In the release notes of the latest version I see this "Fix gf with Ruby 1.9 hashes" but I do not see any highlighting.

Or is the hash key just supposed to remain in default color (grey in my case - I use Gnome terminal with "Grey on Black" built in theme)?

-- brahmana (

From the docs:

"A value of 2 is used for 'shiftwidth' (and 'softtabstop'), and 'expandtab' is enabled. This is a strong convention in Rails, so the conventional wisdom that this is a user preference has been ignored."

Stepping into a *.rb file, and back out to a .js or other unmanaged file, effs up my default tabstop=2 and softtabstop=2 (they're reset to 4). FAIL.


Community content is available under CC-BY-SA unless otherwise noted.