daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest May 16th, 2018 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. " enable syntax highlighting
  2. syntax enable
  3.  
  4. " show line numbers
  5. set number
  6.  
  7. set wrap
  8.  
  9. " set tabs to have 4 spaces
  10. set tabstop=4
  11.  
  12. " indent when moving to the next line while writing code
  13. set autoindent
  14.  
  15. " expand tabs into spaces
  16. set expandtab
  17.  
  18. " when using the >> or << commands, shift lines by 4 spaces
  19. set shiftwidth=4
  20.  
  21. " show a visual line under the cursor's current line
  22. set cursorline
  23.  
  24. " show the matching part of the pair for [] {} and ()
  25. set showmatch
  26.  
  27. " enable all Python syntax highlighting features
  28. let python_highlight_all = 1
  29.  
  30.  
  31. " #### split  ##############################################
  32.  
  33. set splitbelow
  34. set splitright
  35.  
  36. "split navigations
  37. nnoremap <C-J> <C-W><C-J>
  38. nnoremap <C-K> <C-W><C-K>
  39. nnoremap <C-L> <C-W><C-L>
  40. nnoremap <C-H> <C-W><C-H>
  41.  
  42. " #### split  ##############################################
  43.  
  44.  
  45. " Enable folding
  46. set foldmethod=indent
  47. set foldlevel=99
  48.  
  49.  
  50. " Enable folding with the spacebar
  51. nnoremap <space> za
  52.  
  53. set encoding=utf-8
  54.  
  55. syntax on
RAW Paste Data
Top