login007的备忘录
好吧,这里只是我用来静下心,做好记录的地方。

为了方便随时随处使用。备份,定期更新

" 通用配置
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

  

posted on 2011-09-15 21:44  login007  阅读(139)  评论(0编辑  收藏  举报