Monday, September 26, 2011

Vim for Rails

I have "graduated" as you might say into using Vim as my editor for rails. Partly because I wanted too, and partly because I've not only switched to XFCE (and don't want to install Gedit), and also because I've moved from having my dev environment in a VM to running natively on my machine (since I've gotten more comfortable with Rails).

Just a couple of small tweaks.
I installed vim-rails and made a few small edits to my .vimrc file you can see below:


set nocompatible
set nu
set tabstop=2
set shiftwidth=2
set softtabstop=2
set ai
set columns=100
set lines=50
set expandtab
set smarttab
let g:rubycomplete_rails = 1
syntax on


I'm more than open to any further suggestions to my .vimrc

No comments:

Post a Comment