Sunday, September 16, 2012

Customize macvim/gvim for Ruby on Rails development

1. Install Janus - https://github.com/carlhuda/janus

2. Get color scheme. e.g. http://www.vim.org/scripts/script.php?script_id=1891
    Copy vividchalk.vim to ~/.vim/colors

3. ~/.gvimrc.after
set guifont=Monaco:h13
set stal=2 " turn on tabs by default
set noanti

colorscheme vividchalk


4. ~/.vimrc.before
nmap <F3> :vimgrep /<C-R><C-W>/ ./**/*.rb ./**/*.erb

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.