Created
July 15, 2010 06:29
-
-
Save orymate/476581 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set background=dark | |
set softtabstop=4 | |
set sw=4 | |
set expandtab | |
set smarttab | |
set autoindent | |
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class | |
autocmd BufWritePre *.py normal m`:%s/\s\+$//e `` | |
au BufNewFile,BufRead *.cn setf c | |
autocmd BufNewFile,BufRead *.html set sw=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment