Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible
- noremap j h
- noremap k j
- noremap l k
- noremap ; l
- syntax on
- set tabstop=4
- set shiftwidth=4
- set et
- set smarttab
- set autoindent
- function Compile()
- :w
- :!g++-6 % -Wall -std=c++0x -O2 -o %<.exe 2> %<.err
- endfunction
- function Run()
- :!./%<.exe < %<.in
- endfunction
- let mapleader=" "
- map <leader>c :call Compile()<RETURN>
- map <leader>r :call Run()<RETURN>
- map <leader>d :call Debug()<RETURN>
- map <leader>i :sp %<.in<RETURN>
- map <leader>e :sp %<.err<RETURN>
- map <leader>o :sp %<.out<RETURN>
- set rnu
- set clipboard=unnamed
- nnoremap <tab> <c-w>w
- nnoremap <bs> <c-w>W
- set ru
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement