Reputation:
Please excuse my naivety, I come from a world of Textmate but have decided to give vim rails a shot.
I cannot get my syntax highlighting to work, I'm sure this is probably my setup but I am not vim savvy in knowing how to fix this.
Commands like :Rfind etc. are working.
Anyone care to give me some pointers?
Upvotes: 1
Views: 1672
Reputation: 3697
I came across a pretty detailed blog post this morning which may have something you're missing: http://zigzag.github.com/2010/02/14/from-textmate-to-vim-for-rails-coders.html
Upvotes: 0
Reputation: 15492
Not sure if these commands are OS independent, but take a look at this and see if it helps:
https://help.ubuntu.com/community/VimHowto#Enable%20Syntax%20Highlighting
Specifically:
If you want to just enable syntax highlighting for a session, you can simply issue a colon command
:syn on
Syntax highlighting can be turned off by issuing another 'colon' command
:syn off
To make this permanent everytime you open a file, just add the following line to your vimrc.
syntax on
Upvotes: 6