Advertisement
Kevin_Zhang

contest vimrc

Aug 24th, 2022
1,008
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. set nu rnu cin ts=4 sw=4 autoread
  2. sy on
  3. map<leader>b :w<bar>!g++ -std=c++17 '%' -DKEV -fsanitize=undefined -o /tmp/.run<CR>
  4. map<leader>r :w<bar>!cat 01.in && echo "--------" && /tmp/.run < 01.in<CR>
  5. map<leader>i :!/tmp/.run<CR>
  6. map<leader>c I//<Esc>
  7. map<leader>y :%y+<CR>
  8. map<F5> :%d<bar>0r ~/t<CR>
  9. map<F4> :%d<bar>0pu+<CR>
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement