ACM配置指南
Ubuntu桌面入门指南 ACM比赛系统ubuntu 使用指南
ACM核武器
简明 Vim 练级攻略 Vim命令合集 代码编辑神器VIM(附我写acm程序时的配置)
my_vimrc in ubuntu
set cin nu et ts=4 sw=4 sts=4 noswapfile nobackup cursorline set background=dark syntax on map <F4> :exec "!g++ -std=c++11 % -o %<"<cr> map <F5> :exec "!./%<"<cr>
my_gvimrc
set go= cin nu ts=4 sw=4 sts=4 et noswapfile nobackup cursorline set bs=eol,start,indent set fileencodings=ucs-bom,utf-8,cp936,gb18030 set guifont=Consolas:h12 syntax on colorscheme solarized map <F2> :!javac %<cr> map <F3> :!java %<<cr> map <F4> :exec "!g++ -std=c++11 % -o %<"<cr> map <F5> :exec "!%<"<cr>
vim常用命令:
ggVG:全选
"+y:复制到系统剪贴板
"+p:从系统剪贴板粘贴
dd:删除当前行
yy:复制当前行
u:撤销
ctrl+r:反撤销
ctrl+v, shift+i, // Esc:批量注释
:%s/str1/str2/g 全局替换,str1->str2
编译人生,运行世界!