Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. set number " always show line numbers
  2. colorscheme monokai
  3. set ls=2 " always show status line
  4. set hlsearch " highliht search results
  5. set title " show title in console title bar
  6. set showtabline=2 " always show tabbar
  7. "set autoindent " always set autoindent on
  8. "set smartindent " smart indent
  9.  
  10. " indentalas
  11. set preserveindent
  12. "set noexpandtab
  13. set expandtab
  14. set copyindent
  15. set tabstop=4 " set tab to 4 space
  16. set shiftwidth=4 " indent with > < by 2 spaces
  17. set softtabstop=4
  18. set list " show whitespaces
  19. set listchars=tab:>-,trail:. " show whitespaces as this
  20. set sidescroll=10
  21.  
  22. set ruler
  23. "set cursorline
  24. hi cursorline guibg=#ff0000
  25. set scrolloff=5
  26. "set spell
  27. filetype on
  28.  
  29. " xml folding on
  30. let g:xml_syntax_folding=1
  31. au FileType xml setlocal foldmethod=syntax
  32.  
  33. "setlocal noautoindent
  34. "setlocal nocindent
  35. "setlocal nosmartindent
  36. "setlocal indentexpr=
  37. "set cursorline
  38. set textwidth=0 " disable linebreaks
  39. syntax on
  40.  
  41. autocmd BufNewFile,BufRead /etc/apparmor.d/* set syntax=apparmor
  42. autocmd BufNewFile,BufRead /etc/apparmor/profiles/* set syntax=apparmor
  43.  
  44. set mouse=a
  45.  
  46. if &term =~ '256color'
  47. " disable Background Color Erase (BCE) so that color schemes
  48. " render properly when inside 256-color GNU screen.
  49. set t_ut=
  50. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement