Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- color torte
- syn on
- se ai ar sm nu rnu is
- se mouse=a bs=2 ww+=<,>,[,] so=6 ts=4 sw=4 ttm=100
- filetype indent on
- set guifont=Ubuntu\ Mono:h18
- map <F7> <ESC>:wa<CR>:call Comp()<CR>
- imap <F7> <ESC>:wa<CR>:call Comp()<CR>
- func! Comp()
- exec "w"
- exec "!g++ % -std=c++11 -O2 -o %<"
- endfunc
- map <C-F7> <ESC>:tabe %<.in<CR>
- map <F8> :cope <CR>
- map <S-F8> :ccl <CR>
- map <F9> :!%<.exe <CR>
- map <C-F9> :!%<.exe < %<.in <CR>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement