set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1
if has("win32")
set fileencoding=chinese
else
set fileencoding=utf-8
endif
"menu encode
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
"console encode
language messages zh_CN.utf-8
set hlsearch " high light
set autoindent " auto range
set ruler " status of last line
set nu " set row number is visiable
syntax on " check syntax
set bg=dark
set mouse=a
" set the font and background of gvim
set gfn=Courier_New:h14
colorscheme desert
set nobackup "forbid to generate file of with ~