syntax enable
syntax on
set ai
set nu
set tabstop=4
set nobackup
set cursorline
set ruler
set autoindent
colorscheme koehler
set smartindent
set shiftwidth=4
set history=100
set helplang=cn
set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1,gbk18030,utf-16,big5,gb2312
if has("win32")
set fileencoding=chinese
else
set fileencoding=utf-8
endif
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
map :!python.exe %
在ubuntu中用vim很爽,windows中pycharm很不错,调试用起来更爽,就是太TM占内存了,个人用的VIM配置保存,C:\Program Files (x86)\Vim\_vimrc