Advertisement
cmiN

vim

Apr 10th, 2011
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. colorscheme koehler
  2. syntax on
  3.  
  4. set cindent
  5. set shiftwidth=8
  6. set softtabstop=8
  7. set number
  8. "set showmatch
  9.  
  10. imap <F2> <ESC>:w<CR>
  11. nmap <F2> <ESC>:w<CR>
  12.  
  13. imap <F7> <ESC>:! g++ -lm -Wall -O2 -static -fopenmp -pthread -o xx % <CR>
  14. nmap <F7> <ESC>:! g++ -lm -Wall -O2 -static -fopenmp -pthread -o xx % <CR>
  15.  
  16. imap <F6> <ESC>:! g++ -lm -Wall -O2 -static -o xx % <CR>
  17. nmap <F6> <ESC>:! g++ -lm -Wall -O2 -static -o xx % <CR>
  18.  
  19. imap <F4> <ESC>:! time ./%<CR>
  20. nmap <F4> <ESC>:! time ./%<CR>
  21.  
  22. imap <F3> <ESC>:! chmod +x % <CR>
  23. nmap <F3> <ESC>:! chmod +x % <CR>
  24.  
  25. imap <F5> <ESC> :! time ./xx <CR>
  26. nmap <F5> <ESC> :! time ./xx <CR>
  27.  
  28. "set omnifunc=ccomplete#Complete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement