Created
March 16, 2018 06:14
-
-
Save Sciorz/be3dbc92c79524d19fb0ba5abf358a7e to your computer and use it in GitHub Desktop.
acm-vim配置
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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