首页 > 系统服务 > 详细

vim考场配置

时间:2019-11-15 09:44:25      阅读:109      评论:0      收藏:0      [点我收藏+]
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++ % -o -lm -Wall %<'
  exec 'time ./%<'
endfunc

vim考场配置

原文:https://www.cnblogs.com/newbielyx/p/11864377.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!