Guest User

vimrc

a guest
Dec 31st, 2018
558
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. filetype detect
  2. set nocompatible
  3.  
  4. set exrc
  5.  
  6. set mouse=a
  7. set tabstop=4
  8. set shiftwidth=4
  9.  
  10. set noeb vb t_vb=
  11.  
  12. set smarttab
  13. set autoindent
  14. set cindent
  15.  
  16. set showcmd
  17. set number
  18. set autowrite
  19. set autoread
  20. set nowrap
  21.  
  22. syntax on
  23.  
  24. set clipboard=unnamedplus
  25. autocmd VimLeave * call system("pbcopy -pboard general |», getreg('+'))
  26.  
  27. set makeprg=make\ -f\ ~/makefile\ %<
  28. noremap <F5> :make<CR>
  29. noremap <F6> :!./%<<CR>
  30. noremap <F7> :!./%< 2>/dev/null<CR>
  31. nnoremap <C-N> :cnext<CR>
  32. nnoremap <C-P> :cprev<CR>
  33. nnoremap <C-T> :!./check.sh %<CR>
  34.  
  35. noremap <SPACE> :!<CR>
RAW Paste Data