vimrc

来源:互联网 发布:cf无限榴弹软件 编辑:程序博客网 时间:2024/05/23 12:39
set autoindentset cindentset smartindentset hlsearchset showmatch set laststatus=2set nocompatibleset history=1000set modelineset rulerset showcmdset showfulltagset showmodeset smartcaseset imcmdlineset incsearchset tabstop=4set softtabstop=4set shiftwidth=4syntax on"set mouse=a"set tabstop=4"set nohlsearch"set shiftwidth=4"set sts=4"set expandtab"set tabstop=4"colorscheme desertset numberset whichwrap+=<,>,[,] "????"hi Comment ctermfg=darkgreen"Tlishlet Tlist_Show_One_File=1let Tlist_Exit_OnlyWindow=1set nonu"foldset foldmethod=syntax set foldlevel=100 let Tlist_Show_One_File=1let Tlist_Exit_OnlyWindow=1"For chineselet &termencoding=&encodingset fileencodings=utf-8,gbk,ucs-bom,cp936"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" cscope setting"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""if has("cscope")set csprg=/usr/bin/cscopeset csto=1set cstset nocsverb" add any database in current directoryif filereadable("cscope.out")cs add cscope.outendifset csverbendifnmap <C-\>s :cs find s <C-R>=expand("<cword>")<CR><CR>nmap <C-\>g :cs find g <C-R>=expand("<cword>")<CR><CR>nmap <C-\>c :cs find c <C-R>=expand("<cword>")<CR><CR>nmap <C-\>t :cs find t <C-R>=expand("<cword>")<CR><CR>nmap <C-\>e :cs find e <C-R>=expand("<cword>")<CR><CR>nmap <C-\>f :cs find f <C-R>=expand("<cfile>")<CR><CR>nmap <C-\>i :cs find i ^<C-R>=expand("<cfile>")<CR>$<CR>nmap <C-\>d :cs find d <C-R>=expand("<cword>")<CR><CR>


	
				
		
原创粉丝点击