vimrc

set nocompatible
set nobackup
set tabstop=4
set softtabstop=4
set shiftwidth=4
set number
set hls
syntax on
filetype on
filetype plugin on
set autoindent
set showmatch
set ruler
colorscheme delek
set fileencodings=gbk,urt-8,ucs-bom,cp936

"Tlist setting
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
let Tlist_Use_Right_Window=1

"Winmanager
let g:winManagerWindowLayout='FileExplorer,BufExplorer|TagList'
let persistentBehaviour=0
let g:winManagerWidth=30
nmap .wm :WMToggle
nmap .fw :FirstExplorerWindow
nmap .lw :BottomExplorerWindow

"Cscope
set cscopequickfix=s-,c-,d-,i-,t-,e-

"BufExplorer
let g:bufExplorerDefaultHelp=0 "Do not show default help
let g:bufExplorerShowRelativePath=1
let g:bufExplorerSortBy='mru'

"OmniCppComplete
set completeopt=longest,menu

你可能感兴趣的:(vimrc)