diff --git a/vim/.vimrc b/vim/.vimrc index 8857d1a..0c58d48 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -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