Mike Bailey

vim syntax highlighting for Rails

Filed under: ruby on rails, axe sharpening — Mike Bailey @ 6:20 am on July 10, 2007

A couple of days I updated the font settings in terminal.app on my mac. It’s now in line with textmate using Anti-Aliased 14 point DejaVu Sans mono.

Terminal.App font settings

I think you’ll agree, it’s pretty.

editing ruby code with vim on my mac

Now I want to get my vim syntax highlighting to mirror that in Textmate. My vim doesn’t currently understand rhtml. I also want it to use the same colorscheme (Sunburst) that my Textmate is using.Who will join my quest?

update big response from the lists.

Install rails.vim so it will recognize .rhtml files. It also touts “easy file navigation, enhanced syntax highlighting, and more”

Install vividchalk.vim, a colorscheme like Vibrant Ink for Textmate. Apparently it has a 16 color mode for remote terminal support. I still want to find Sunburst but at least I could always make one based on this.

The Rails Wiki has a page on HowtoUseVimWithRails

Stay tuned!

1 Comment »

  1. And I thought you’d be subscribed…

    http://www.3spoken.co.uk/2007/07/vim-rails-in-gutsy.html

    NeilW

    Comment by Neil Wilson — August 1, 2007 @ 7:28 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Copyright 2007 Mike Bailey. All Rights Reserved