Python indentation

This commit is contained in:
Sonny 2017-06-10 11:08:34 +02:00
parent 877296af54
commit bdc2504ca7

View file

@ -20,8 +20,12 @@ syntax enable
" Create the `tags` file (may need to install ctags first)
command! MakeTags !ctags -R .
" 4 spaces instead of tabs indentation
set shiftwidth=4 tabstop=4 softtabstop=4 expandtab
"Python specific's
au BufNewFile,BufRead *.py
\ set tabstop=4
\ set softtabstop=4
\ set shiftwidth=4
\ set expandtab
" Fold methods based on indents
" zo to open folds, zc to close