set nu
set tabstop=4
set nobackup
set expandtab
set autoindent
set colorcolumn=82
set cursorline
set bg=dark
syntax on
filetype plugin indent on
set cindent shiftwidth=4
set ts=4
set sw=4
highlight WhitespaceEOL ctermbg=red guibg=red
match WhitespaceEOL /\s\+$/
let loaded_matchpare=1
filetype plugin on
syntax on
au BufRead,BufNewFile *.go set filetype=go
set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1
if has("win32")
set fileencoding=chinese
else
set fileencoding=utf-8
endif
"解决èœå•ä¹±ç
""source $VIMRUNTIME/delmenu.vim
"source $VIMRUNTIME/menu.vim
"""解决consle输出乱ç
language messages zh_CN.utf-8