set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
set nu
set number
set cursorline
set mouse=r
set selection=exclusive
set selectmode=mouse,key
set tabstop=4
set shiftwidth=4
set autoindent
set showmatch
set expandtab
" 自动跳转到上次编辑位置
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal g'\"" | endif
endif