Skip to content

Instantly share code, notes, and snippets.

@Sciorz
Created March 16, 2018 06:14
Show Gist options
  • Save Sciorz/be3dbc92c79524d19fb0ba5abf358a7e to your computer and use it in GitHub Desktop.
Save Sciorz/be3dbc92c79524d19fb0ba5abf358a7e to your computer and use it in GitHub Desktop.
acm-vim配置
set cin nu ts=4 sw=4 sts=4 cul mouse=a
set smarttab
syn on
map <C-B> :call CR()<CR>
func! CR()
exec "w"
exec "! clear && g++ -std=c++11 % -o %< && ./%< "
endfunc
imap <c-]> {<cr>}<c-o>O<left><right>
map <C-A> ggVG"+y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment