```
: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
inoremap ‘ ‘‘<ESC>i
inoremap ( ()<ESC>i
inoremap [ []<ESC>i
inoremap " ""<ESC>i
inoremap { {}<ESC>i
map <F7> <ESC> :w <CR> :!gedit % <CR>
map <F8> <ESC> :w <CR> :!g++ -g -Wall % -o %< <CR>
map <F9> <ESC> :w <CR> :!g++ -g -Wall % -o %< && ./%< <CR>
map <F6> <ESC> :w <CR> :!g++ -g -Wall % -o %< && ./%< < data.in <CR>
map <F5> <ESC> :!gdb %<
```
原文:https://www.cnblogs.com/gekoo/p/11218798.html