Skip to content

Instantly share code, notes, and snippets.

@poulter7 poulter7/.vimrc
Created Mar 7, 2012

Embed
What would you like to do?
For Andy... a simple addition to .vimrc for rails development
set nocompatible
filetype indent plugin on | syn on
set hidden
filetype on
filetype plugin on
filetype indent on
" let's copy paste some lines from documentation
fun! SetupVAM()
let addons_base = expand('$HOME') . '/.vim/vim-addons'
exec 'set runtimepath+='.addons_base.'/vim-addon-manager'
if !isdirectory(addons_base)
exec '!p='.shellescape(addons_base).'; mkdir -p "$p" && cd "$p" && git clone git://github.com/MarcWeber/vim-addon-manager.git'
endif
call vam#ActivateAddons(['rails', 'bundler'], {'auto_install' : 1})
endf
call SetupVAM()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.