git clone --recursive https://github.com/paulosborne/javascript-vimrc.git ~/.vim
Example .vimrc
let g:settings = {}
let g:settings.default_indent = 2
let g:settings.javascript_libs = 'angular,underscore'
let g:settings.colorscheme = 'molokai'
let g:settings.encoding = 'utf-8'
let g:settings.max_column = 120
source ~/.vim/vimrc