Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This is the awesome config files to develop Ruby on Rails with vim

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time


The awesome Vim config files

This will allow you to run mac vim and develop on Ruby on Rails.

Some features include:

  • nice theme for gui and terminal with 16 colors. (ir_black and xterm16)
  • incremental Search that ignore case by default
  • Swap and backup out of your way

to install:
you need to install macvim. If you are using OSX with macports you can run:
sudo port install macvim +ruby

WARNING: The +ruby variant depends on ruby from macport! this could reinstall a new ruby env!
You only require ruby support for command-t plugin. So you could remove +ruby to install it without ruby support:

then add the config files:

git clone git:// ~/.vim

ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc

user settings can go in ~/.vimrc.local


jj = Very useful for keeping your hands on the home row
,n = toggle NERDTree off and on
,f = fuzzy find all files
,F = Fuzzy find flush (refresh when new files are created)
,b = fuzzy find in all buffers
,p = go to previous file
,t = toogle taglist

hh = inserts ‘=>’
aa = inserts ‘@’

,h = new horizontal window
,v = new vertical window

,i = toggle invisibles

enter and shift-enter = adds a new line after/before the current line

:call Tabstyle_tabs = set tab to real tabs
:call Tabstyle_spaces = set tab to 2 spaces

Keyboard Layout

I use english keyboard layout since is the most efficient layout for development.
Also I use the Caps Lock key as control key.

Wish List

Things i want to include, build, improve, etc

  • Git grep inside vim
  • mvim should open a new tab and pwd should be set to the current file
  • running ‘mvim’ or ‘mvim .’ should open the NERDTREE by default and an empty window on the right

See it


Thanks to twerth for his config files
Thanks to Rafa for introducing me to the world of mac and spending some time testing this config! :D

Something went wrong with that request. Please try again.