Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. " Editor appearance
  2. syntax enable "enable syntax processing
  3. set number "show current line number
  4. set relativenumber "show relative line numbers
  5. set cursorline "highlight current line
  6. set showmatch "highlight matching brackets [{()}]
  7.  
  8. " Indentation
  9. set tabstop=4 "number of visual spaces per TAB
  10. set softtabstop=4 "number of spaces in TAB when editing
  11. set expandtab "TABs are SPACEs
  12.  
  13. " Editor settings
  14. set lazyredraw "redraw only when we need to
  15.  
  16. " Key bindings
  17. " Don't use arrowkeys
  18. noremap <Up> <NOP>
  19. noremap <Down> <NOP>
  20. noremap <Left> <NOP>
  21. noremap <Right> <NOP>
  22. " Really, just don't
  23. inoremap <Up> <NOP>
  24. inoremap <Down> <NOP>
  25. inoremap <Left> <NOP>
  26. inoremap <Right> <NOP>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement