Gekoo's vimrc

set number
set tabstop=4
set shiftwidth=4
set autoindent
set smartindent
set nu
set t_Co=256
syntax on
set mouse=a
set cindent
set hlsearch
color ron
set cc=80
inoremap ' ''<ESC>i
inoremap ( ()<ESC>i
inoremap [ []<ESC>i
inoremap " ""<ESC>i
inoremap { {}<ESC>i
map <F2> <ESC> :w <CR> :!gedit % <CR>
map <F8> <ESC> :w <CR> :!g++ -g3 -Wall % -o %< && ./%< <CR>
map <F9> <ESC> :w <CR> :!g++ -g3 -Wall % -o %< && ./%< < data.in <CR>
map <F5> <ESC> :w <CR> :!gdb %< <CR>

 7.24 Upd:

1.去掉了set前面的冒号

2.添加了cc=120标识线,使代码规范

8.2 Upd:

1.标识线改为传统的80字符

2.修复了无法调用gdb的问题

3.修改了一些键位

posted @ 2019-08-02 14:03  Gekoo  阅读(272)  评论(3编辑  收藏  举报