Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.83 KB | None | 0 0
  1. " Don't show gui clutter
  2. if has('gui_running')
  3.   set guioptions-=m  "remove menu bar
  4.   set guioptions-=T  "remove toolbar
  5.   set guioptions-=r  "remove right-hand scroll bar
  6.   set guioptions-=L  "remove left-hand scroll bar
  7. endif
  8.  
  9. " Backspace behave properly
  10. set backspace=indent,eol,start
  11.  
  12. " Display line numbers
  13. set number
  14.  
  15. " Vertical and horizontal lines
  16. set cursorline
  17. set colorcolumn=100
  18.  
  19. " Smart indenting
  20. set autoindent
  21.  
  22. " Better searching
  23. set incsearch
  24. set hlsearch
  25. set ignorecase
  26. set smartcase
  27.  
  28. " File explorer
  29. let g:netrw_banner=0
  30. let g:netrw_winsize=20
  31. let g:netrw_liststyle=3
  32. let g:netrw_localrmdir='rm -r'
  33. nnoremap <leader>n :Lexplore<CR>
  34.  
  35. " Status Line
  36. set laststatus=2
  37. "modifiedflag, charcount, filepercent, filepath
  38. set statusline=%=%m\ %c\ %P\ %f
  39.  
  40. " Turn off annoying bell sounds
  41. set belloff=all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement