「杂项」Vim 配置文件

无数次听说 vim 很好用
无数次 :help
无数次被几十篇使用文档劝退 不要阅读理解 不要阅读理解
终于!
神现学弟告诉我这玩意有中文的 短得一批的使用说明
于是。
划水现场

set nocompatible
set nu
set cursorline
set tabstop=4
set sw=4
set autoindent
set cindent
set mouse=a
set ls=2
color ron
map<F5> :call F5()<CR>
func F5()
	exec "w"
	exec "!g++ % -Wall -o %< -O2 -std=c++11 && ./%<"
endf
map<F6> :w<CR>
map<F7> :call F7()<CR>
func F7()
	exec "w"
	exec "!g++ % -Wall -o %< -O2 -std=c++11 && time ./%< < %<.in"
endf
map<F8> :e<CR>
原文地址:https://www.cnblogs.com/zzzuozhe-gjy/p/15113421.html