唯快不破--Vim
colorscheme ron
hi TabLineFill ctermbg=grey
set nu
set ruler
set mouse=a
set ts=4
set noswapfile
set autoindent
set statusline=Delovue
autocmd VimEnter * :hi TabLineFill ctermfg=black
map <F2> <ESC>:w <CR> <ESC>:! g++ % -o 3 -fsanitize=address,undefined -Wall && time ./3<CR>
map <F3> <ESC>:w <CR> <ESC>:! g++ % -o 3 -fsanitize=address,undefined -Wall && time ./3 <a.in<CR>
map <F4> <ESC>:! g++ data.cpp -o data && ./data<CR>
map <F5> <ESC>:w <CR> <ESC>:! g++ % -O2 -o 1 -Wall && time ./1<CR>
map <F6> <ESC>:w <CR> <ESC>:! g++ % -O2 -o 2 -Wall && time ./2<a.in<CR>
map <F7> <ESC>:w <CR> <ESC>:! g++ % -o gg -g3 && gdb gg<CR>
map <F8> <ESC>:tabedit .vimrc<CR>
map <F9> <ESC>:vsp a.in<CR>
map <C-p> <ESC>:vsp
map <C-w> <ESC>:q<CR>
map <C-a> <ESC>:set autoindent<CR>
map <C-n> <ESC>:set noautoindent<CR>
map <C-c> <ESC>:w <CR> <ESC>:! cat %<CR>
map <C-e> <ESC>:wq<CR>
map <C-h> <ESC>:tabp<CR>
map <C-l> <ESC>:tabn<CR>
map <C-t> <ESC>:tabedit
map <C-x> <ESC>:shell<CR>
标签:map,set,++,配置,Vim,Wall,&&,time
From: https://www.cnblogs.com/Delov/p/16753560.html