Posted by rp8 on Thursday, October 30, 2008
Today when searching for a better editor for Ruby and Rails coding again, I found this excellent work by Tim Pope: rails.vim. It adds some really nice features to VIM, my favorite editor of all time. It’s as simple as vi but with more powerful features like color coding, code completion and file navigation.

I have installed the following plugins for vim:
1. minibufexpl.vim
2. matchit.vim
3. opsplorer.vim
4. project.vim
5. dbext.vim
6. fuzzyfinder.vim
7. fuzzyfinder_textmate.vim
8. rubycomplete.vim
9. vimballPlugin.vim
10. snippetsEmu.vim
11. rails.vim
12. vibrantink.vim
13. haml.vim
Here’s my .vimrc:
filetype plugin indent on
syntax on
set nocompatible
set nowrap
set nu
set tabstop=2
set shiftwidth=2
set softtabstop=2
set ai
set expandtab
set smarttab
"set guifont=Courier:h10
set guifont=Monaco:h18
set laststatus=2
set ignorecase
set incsearch hlsearch
set noerrorbells
set visualbell
set showcmd
set clipboard+=unnamed
"colorscheme vividchalk
colorscheme vibrantink
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
let g:rubycomplete_rails = 1
let g:rails_default_file = 'config/database.yml'