.vimrc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. set number " Show line numbers
  2. set showbreak=+++ " Wrap-broken line prefix
  3. set showmatch " Highlight matching brace
  4. set visualbell " Use visual bell (no beeping)
  5. set noswapfile " Disable swap files
  6. set hlsearch " Highlight all search results
  7. set ignorecase " Always case-insensitive
  8. set incsearch " Searches for strings incrementally
  9. set autoindent " Auto-indent new lines
  10. set expandtab " Use spaces instead of tabs
  11. set smartindent " Enable smart-indent
  12. set smarttab " Enable smart-tabs
  13. set shiftwidth=2 " Number of auto-indent spaces
  14. set softtabstop=2 " Number of spaces per Tab
  15. set ruler " Show row and column ruler information
  16. set undolevels=1000 " Number of undo levels
  17. set backspace=indent,eol,start " Backspace behaviour
  18. set autoread " refresh files if vim is unchanged
  19. set updatetime=350 " update gitgutter and other things this often
  20. let g:gitgutter_map_keys = 0
  21. syntax on
  22. filetype plugin on
  23. filetype plugin indent on
  24. setlocal formatoptions-=tc
  25. set termguicolors
  26. colorscheme murphy
  27. highlight clear SignColumn
  28. highlight Normal ctermbg=black guibg=black
  29. highlight NonText ctermbg=NONE guibg=NONE
  30. highlight EndOfBuffer ctermbg=NONE guibg=NONE