vim,gvim启动设定

colorscheme asmanian2
set nu
"map <C-c> "+y
"map <C-v> "+p
map <C-s> :w<CR>
syntax on
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set cindent
set cinoptions={0,1s,t0,n-2,p2s,(03s,=.5s,>1s,=1s,:1s
if &term=="xterm"
set t_Co=8
             set t_Sb=^[[4%dm
set t_Sf=^[[3%dm
endif
set tags=tags
set autochdir
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
let g:winManagerWindowLayout='FileExplorer|TagList'
nmap wm :WMToggle<cr>
let g:miniBufExplMapCTabSwitchBufs=1
let g:miniBufExplMapWindowsNavVim=1
let g:miniBufExplMapWindowNavArrows=1
set nowrap 

nnoremap <silent> <F12> :A<CR>
nnoremap <silent> <F3> :Grep<CR>
set encoding=utf-8
set fileencodings=utf-8
"resolve menu messy code
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
"resove consle output messy code
language messages zh_CN.utf-8

:set ffs=unix

  

.vimrc

vim,gvim启动设定

你可能感兴趣的:(vim)