Advertisement
illwieckz

vimrc with special formatting characters display

Jul 12th, 2020
2,551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.95 KB | None | 0 0
  1. " nice colors
  2. colors desert
  3.  
  4. " line numbering
  5. set number
  6.  
  7. " mouse integration
  8. set mouse=a
  9.  
  10. " assume shell script syntax uses bash
  11. let g:is_bash=1
  12.  
  13. " 4-chars wide tab, no dirty fake space-based tab
  14. set noexpandtab
  15. set shiftwidth=4
  16. set softtabstop=4
  17. set tabstop=4
  18.  
  19. " display file name and directory name in terminal window title
  20. set title
  21.  
  22. " display special white space characters
  23. set list
  24. set listchars=eol:⏎,tab:⇨\ ,space:·,nbsp:⎵,trail:•,extends:⇉,precedes:
  25. set showbreak=↪\ \ \
  26.  
  27. " set color for listchars
  28. hi Return ctermfg=237
  29. match Return /$/
  30. :hi Specialkey ctermfg=237
  31.  
  32. " highlight cursor line and (disabled by default) cursor column
  33. set cursorline
  34. hi CursorLine cterm=NONE ctermbg=234
  35. " set cursorcolumn
  36. hi CursorColumn cterm=NONE ctermbg=234
  37.  
  38. " indents word-wrapped lines as much as the parent line
  39. set breakindent
  40.  
  41. " split long lines
  42. set wrap
  43.  
  44. " ensures word-wrap does not split words
  45. set formatoptions=l
  46. set lbr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement