set cindent
set smartindent
set autowrite
"set enc=GBK
set backspace=indent,eol,start
"set fencs=GBK,utf-8,ucs-bom,cp936,latin1,big5,utf-16
set fileencodings=utf-8,GBK,ucs-bom,cp936,latin1,big5,utf-16
set encoding=utf-8
"set fileencoding=cp936,utf-8
set termencoding=utf-8
set nowrap
set backspace=indent,eol,start
set nobackup
set showcmd
set sts=4
set autoindent
set history=1000
set incsearch
set laststatus=2
set matchtime=2
set hlsearch
set ruler
set scrolloff=10
set showmatch
set showcmd
set tabstop=4
set softtabstop=4
" auto complete
set nocp
let OmniCpp_GlobalScopeSearch = 1 " 0 or 1
let OmniCpp_NamespaceSearch = 1 " 0 , 1 or 2
let OmniCpp_DisplayMode = 1
let OmniCpp_ShowScopeInAbbr = 0
let OmniCpp_ShowPrototypeInAbbr = 1
let OmniCpp_ShowAccess = 1
let OmniCpp_MayCompleteDot = 1
let OmniCpp_MayCompleteArrow = 1
let OmniCpp_MayCompleteScope = 1
""""""""
" ctags
"""""""""
let generate_tags=1
let g:ctags_title=1
let g:ctags_statusline=1
set tags=tags;
set nu
syntax on
set shiftwidth=4
set wrap
set paste
colorscheme desert