Skip to content

Instantly share code, notes, and snippets.

@stephensilber
stephensilber / .vimrc_work
Created August 12, 2013 22:34
.vimrc file from workstation
set nocompatible " be iMproved
filetype off " required!
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
autocmd BufRead *.py set nocindent
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
" Disable pylint checking every save
let g:pymode_lint_write = 0