This is a read-only archive!

Vim Ruby

Note to self: vim-ruby's matchit support is delicious. It lets you bounce on the % key to switch between class/end and def/end and if/else/end.

For whatever reason, at work when I installed Vim, matchit was installed by default along with Vim, but you have to manually copy it to the proper directory and build the help file for it yourself before it will work. There are instructions for how to do so at the end of ruby.vim in Vim's standard vim70/ftplugin directory.

April 25, 2007 @ 4:11 PM PDT
Cateogory: Programming
Tags: Ruby, Vim