Created
November 15, 2012 07:15
-
-
Save mrkschan/4077171 to your computer and use it in GitHub Desktop.
vim smartindent config for Python
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
" Smart indenting for Python | |
autocmd FileType python set smartindent | |
autocmd FileType python set cinwords=if,elif,else,for,while,try,except,finally,def,class | |
autocmd FileType python set tabstop=4 | |
autocmd FileType python set shiftwidth=4 | |
autocmd FileType python set expandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment