From b90c2531f4be5d593bfb802a4ef21d3739e8bb98 Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sat, 5 Oct 2024 13:24:27 +0200 Subject: [PATCH] add vim to config --- setup.sh | 1 + vim/dot-vimrc | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 vim/dot-vimrc diff --git a/setup.sh b/setup.sh index a6743b5..d8ef446 100755 --- a/setup.sh +++ b/setup.sh @@ -10,6 +10,7 @@ configs=( git i3 kitty + vim nvim fish tmux diff --git a/vim/dot-vimrc b/vim/dot-vimrc new file mode 100644 index 0000000..49563d4 --- /dev/null +++ b/vim/dot-vimrc @@ -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.