随时用
set nu
set ls=2
set sw=4
set ts=4
set noswapfile
set mouse=a
set nobackup
set cindent
set autoindent
set cursorline
set smartindent
set ruler
set t_Co=256
color ron
inoremap ( ()<ESC>i
inoremap " ""<ESC>i
inoremap ' ''<ESC>i
inoremap { {}<ESC>i
inoremap {<CR> {<CR>}<ESC>O
inoremap <C-j> <DOWN>
inoremap <C-h> <LEFT>
inoremap <C-l> <RIGHT>
inoremap <C-k> <UP>
map <F5> :call Run()<CR>
func Run()
exec "w"
exec "!g++ % -Wall -o %< -lm -ftrapv && time ./%<"
endf
map <F8> :call Gdb()<CR>
func Gdb()
exec "w"
exec "!g++ % -o %< -g && gdb %< -q"
endf
map <F9> :call Print()<CR>
func Print()
exec "w"
exec "!cat %"
endf