为了方便随时随处使用。备份,定期更新
" 通用配置
set ai
set nobackup
set go=
colo evening
set number
" 解决中文乱码问题
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set encoding=prc
if has("autocmd")
" 自动检测文件类型并加载相应的设置
filetype plugin indent on
" Python文件的一般设置,比如不要tab等
autocmd FileType python setlocal et | setlocal sta | setlocal sw=4 | map <F5> :!python.exe "%"
endif