Developer guide: vim tips - nilakshdas/ThinkUp GitHub Wiki
Vim tips
- For consistency with ThinkUp's coding conventions, add the following to your .vimrc:
autocmd BufNewFile,BufRead /path/to/ThinkUp/* set expandtab colorcolumn=120
autocmd BufNewFile,BufRead /path/to/ThinkUp/*.php set tabstop=4 shiftwidth=4
autocmd BufNewFile,BufRead /path/to/ThinkUp/*.{css,js,tpl} set tabstop=2 shiftwidth=2