ACM模板

0 vimrc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set tabstop=4
set shiftwidth=4
set showcmd
set number
set ruler
set mouse=a
set autoindent
filetype plugin indent on
inoremap { {}<LEFT>
inoremap {<CR> {}<LEFT><CR><CR><UP><TAB>
inoremap } {<CR><ESC>A<CR>}<UP><ESC>A
map <F5> :w<CR> :!gdb %< -q <CR>
map <F9> :w<CR> :!g++ % -o %<.exe -g -Wall<CR>
map <F10> :w<CR> :!time ./%< <CR>