Defined in a general file plugin file of a Python type file ( $VIMRUNTIME/ftplugin/python.vim ):
" As suggested by PEP8. setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
This should be consistent with PEP 8 .
@Carpetsmoker adds:
The vim-dev @ list has a discussion of this .
You can use reset using this in your ~/.vimrc ; eg:
aug python " ftype/python.vim overwrites this au FileType python setlocal ts=4 sts=4 sw=4 noexpandtab aug end
Or by adding configuration settings to $HOME/.vim/after .
JΓΊda ronΓ©n
source share