Advertisement
forioop

Untitled

Sep 7th, 2022 (edited)
606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.11 KB | None | 0 0
  1. " Don't try to be vi compatible
  2. set nocompatible
  3.  
  4.  
  5. " Turn on syntax highlighting
  6. syntax on
  7.  
  8. " For plugins to load correctly
  9. filetype plugin indent on
  10.  
  11. " Show line numbers
  12. set number
  13.  
  14. " Show file stats
  15. set ruler
  16.  
  17. " Blink cursor on error instead of beeping (grr)
  18. set visualbell
  19.  
  20. " Encoding
  21. set encoding=utf-8
  22.  
  23. " Whitespace
  24. set wrap
  25. set textwidth=79
  26. set formatoptions=tcqrn1
  27. set tabstop=4
  28. set softtabstop=4
  29. set expandtab
  30. set noshiftround
  31. set autoindent 
  32. # Auto-indent new lines
  33. set shiftwidth=4   
  34. # Number of auto-indent spaces
  35. set smartindent
  36. # Enable smart-indent
  37. set smarttab   
  38. # Enable smart-tabs
  39. set softtabstop=4  
  40. # Number of spaces per Tab
  41.  
  42. " Cursor motion
  43. set scrolloff=3
  44. set backspace=indent,eol,start
  45.  
  46. " Rendering
  47. set ttyfast
  48.  
  49. " Status bar
  50. set laststatus=2
  51.  
  52. " Last line
  53. set showmode
  54. set showcmd
  55.  
  56. " Searching
  57. set hlsearch
  58. set incsearch
  59. set ignorecase
  60. set smartcase
  61. set showmatch
  62.  
  63. " Visualize tabs and newlines
  64. set listchars=tab:▸\ ,eol:¬
  65.  
  66. " Color scheme (terminal)
  67. set t_Co=256
  68. set background=dark
  69. let g:solarized_termcolors=256
  70. let g:solarized_termtrans=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement