MacVim is a project mainly written in VIM SCRIPT and RUBY, it's free.
MacVim configure
.vim configuration