From 33d37b3eb9b3fca4ebd74d0caba9599ca9dbd4dc Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 22 Jul 2022 18:15:19 +0200 Subject: [PATCH] vimrc: set diffopt(s) --- .vim/vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index 037cd46..9f84be1 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -731,6 +731,11 @@ set wildignore+=*.spl " compiled spelling word lists set wildignore+=*.pyc " Python byte code set wildignore+=node_modules/** set wildmode=longest:longest,full + +" filler lines to keep text position; start diff with vertical splits; don't +" ignore case and whitespace changes +set diffopt=filler,vertical + set scrolloff=5 " scroll offset, min lines above/below cursor "set scrolljump=5 " jump 5 lines when running out of the screen - NO set sidescroll=10 " minimum columns to scroll horizontally