dotfiles/vim/dot-vimrc
2024-10-16 06:55:30 +00:00

21 lines
910 B
Plaintext

" https://git.mziesel.nl/mans/dotfiles/src/branch/main/vim/dot-vimrc
" Do use vim defaults: Syntax hilighting and more
unlet! skip_defaults_vim
source $VIMRUNTIME/defaults.vim
set number " Show line numbers.
set relativenumber "Show relative line numbers
set autoindent " keep indent for next line
set hlsearch " Enable search highlighting.
set ignorecase " Ignore case when searching.
set incsearch " Incremental search that shows partial matches.
set smartcase " Automatically switch search to case-sensitive when search query contains an uppercase letter.
set nowrap " Disable line wrap
set laststatus=2 " Always display the status bar.
set noerrorbells " Disable beep on errors.
set mouse=a " Enable mouse for scrolling and resizing.
set background=dark " Use colors that suit a dark background. (I use black terminal background)
set history=1000 " Increase the undo limit.
colorscheme slate " Set theme