Frequently a tool crops up that makes me feel foolish for not using it – that tool today is Rails.vim. It rocks in so many ways I am seriously considering having Tim Pope’s babies – were such a thing possible.
- Automatic method completion!
- Automatic switching to fixtures, unit tests, and other context-sensitive actions!
- Excellent syntax highlighting!
- Hooks into your script/ directory!
And really too much stuff to articulate here. Just use it! Yay for IDEs that don’t slow you down – I’m looking at you, RadRails.
Getting it working under modern Ubuntus (ubunti?) is stupid easy (as a normal user):
sudo aptitude install vim-rails vim-rails-setup