存档
my vimrc
syntax on
color slate
set nocompatible
set backspace=indent,eol,start
set nu
set cul
set ruler
set mouse=a
map <F9> <Esc> :w <CR> :!g++ % -o %<.ex -Wall -std=c++11 && time ./%<.ex <CR>
map <F10> <Esc> :w <CR> :!g++ % -o %<.ex -Wall -O2 -std=c++14 && time ./%<.ex <CR>
map <F7> <Esc> :w <CR> :tabnew<CR>
set smartindent
set smarttab
set tabstop=8
set softtabstop=8
set shiftwidth=8for windows
syntax on
color torte
set nocompatible
set backspace=indent,eol,start
set guifont=Consolas:h20
set nu
set cul
set ruler
set mouse=a
set smartindent
set smarttab
set tabstop=8
set softtabstop=8
set shiftwidth=8
map <F9> <Esc> :w <CR> :!g++ % -o %<.exe -Wall -O2 -std=c++14 -Wl,-stack=500000000 && %<.exe <CR>
map <F7> <Esc> :w <CR> :tabnew <CR>
au GUIEnter * simalt ~x