syntax on
set number
set showmatch
set autoindent
set smartindent
set tabstop=2
set shiftwidth=2
set mouse=a
map <F5> : call Compile() <CR>
func! Compile()
exec 'w'
exec '!g++ % -lm -Wall -o %<'
exec '!time ./%<'
endfunc
vim考场配置
猜你喜欢
转载自www.cnblogs.com/newbielyx/p/11864377.html
今日推荐
周排行