Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. color torte
  2. syn on
  3. se ai ar sm nu rnu is
  4. se mouse=a bs=2 ww+=<,>,[,] so=6 ts=4 sw=4 ttm=100
  5. filetype indent on
  6.  
  7. set guifont=Ubuntu\ Mono:h18
  8.  
  9.  
  10.  
  11. map <F7> <ESC>:wa<CR>:call Comp()<CR>
  12. imap <F7> <ESC>:wa<CR>:call Comp()<CR>
  13. func! Comp()
  14. exec "w"
  15. exec "!g++ % -std=c++11 -O2 -o %<"
  16. endfunc
  17. map <C-F7> <ESC>:tabe %<.in<CR>
  18. map <F8> :cope <CR>
  19. map <S-F8> :ccl <CR>
  20. map <F9> :!%<.exe <CR>
  21. map <C-F9> :!%<.exe < %<.in <CR>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement