Advertisement
Guest User

erik

a guest
Mar 6th, 2010
540
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.16 KB | None | 0 0
  1. "Compile and run file being edited with <shift> + e:
  2. "note: this compiles the file as a.out and then runs a.out
  3. map <buffer> <S-e> :w<CR>:!g++ % && ./a.out<CR>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement