码迷,mamicode.com
首页 > 系统相关 > 详细

Vim配置文件(Vimrc)

时间:2015-05-03 23:20:28      阅读:277      评论:0      收藏:0      [点我收藏+]

标签:

嘛……后面的比赛基本都是在NOI Linux下进行了,windows下的开发环境基本都不能用了>_>果断转了vim,记录一下vim的配置文件~

 1 set nu
 2 syntax on
 3 filetype indent on
 4 set shiftwidth=4
 5 set tabstop=4
 6 set smartindent
 7 set cindent
 8 set autochdir
 9 set showmatch
10 map<F9> :w<CR> :!g++ -g %<.cpp -o %< <CR>
11 map<C-F9> :!./%< <CR>
12 map<F7> :!gdb %< <CR>
13 map<F8> :!gdb -tui %< <CR>
14 map<F4> :split %<.in <CR>
15 map<F5> :split %<.out <CR>
16 map<F3> :split std.cpp <CR>

 

Vim配置文件(Vimrc)

标签:

原文地址:http://www.cnblogs.com/Tunix/p/4474877.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!