目前只有一些OmniCpp,cscope,taglist,ctags,winmanager,bufexplorer,minibufexplorer的一些设置
let &termencoding=&encoding
set fileencodings=utf-8,gbk
set nocp
filetype plugin on
syntax enable
syntax on
colorscheme desert
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set cindent
set nu
set hlsearch " hightlight search result
set incsearch " increase search
"intelligent suggest and auto complete
let OmniCpp_GlobalScopeSearch = 1
let OmniCpp_NamespaceSearch = 2
let OmniCpp_DisplayMode = 1
let OmniCpp_ShowScopeInAbbr = 1
let OmniCpp_ShowPrototypeInAbbr = 1
let OmniCpp_ShowAccess = 1
let OmniCpp_DefaultNamespaces = []
let OmniCpp_MayCompleteDot = 1
let OmniCpp_MayCompleteArrow = 1
let OmniCpp_MayCompleteScope = 1
"ctags
set tags+=~/.vim/sysctags
set tags+=./tags
"taglist
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
"winManager
let g:winManagerWindowLayout='FileExplorer|TagList'
"minibufexplorer
"don't show minibufexplorer because of conflict with winmanager
"only use the the feature of moving between windows with C+arrow
let g:miniBufExplorerMoreThanOne=1000000
let g:miniBufExplMapWindowNavArrows = 1
"quickfix
set cscopequickfix=s-,c-,d-,i-,t-,e-
"cscope
cs add ./cscope.out .
"hot key
map wm :WMToggle<cr>
map <C-F9> :Tlist<CR>
map <C-F10> :A<CR>
map <C-F11> :!cscope -Rbq
map <C-F12> :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .