add vim to config

This commit is contained in:
Mans Ziesel 2024-10-05 13:24:27 +02:00
parent f579e28af7
commit b90c2531f4
2 changed files with 19 additions and 0 deletions

View File

@ -10,6 +10,7 @@ configs=(
git
i3
kitty
vim
nvim
fish
tmux

18
vim/dot-vimrc Normal file
View File

@ -0,0 +1,18 @@
" 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.