My Vim setup for Rails

by Jason Swett,

Vim is my favorite editor because using Vim I can edit circles around anyone using Atom, Visual Studio, Sublime Text or any other non-keyboard-based editor. If “computers are a bicycle for the mind”, then using Vim is like shifting that bicycle into high gear. I like to shift that gear even higher using a few certain plugins:

vim-rspec lets me run my tests with a keystroke.

vim-rails takes advantage of the common structure of all Rails applications to let me navigate any Rails application super quickly.

ctrlp.vim allows me to quickly search for and open files (not earth-shattering or unique but of course very useful).

5 thoughts on “My Vim setup for Rails

    1. Jason Swett Post author

      True. My experience unfortunately is that any editor in Vim mode is, all things taken together, only about 97% as good as Vim itself (usually due to subtle missing features in the emulator), and so Vim always wins slightly in my book.

  1. BrainDeadCookie

    And yet, there is comment in my .vimrc counting how many hours (double digits now) I’ve spent trying to make Vim sanely autocomplete Ruby/Rails code.


Leave a Reply

Your email address will not be published. Required fields are marked *