From 515b61861b8ecda63ba2bb9149d7118b4a5ea250 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 1 Mar 2023 19:27:17 +0100 Subject: vim: set scrolloff Also done for platforms without vimrc_example.vim. --- %HOME%/.vimrc | 2 ++ 1 file changed, 2 insertions(+) (limited to '%HOME%') diff --git a/%HOME%/.vimrc b/%HOME%/.vimrc index 0c92553..8dff23b 100644 --- a/%HOME%/.vimrc +++ b/%HOME%/.vimrc @@ -41,6 +41,8 @@ set ruler set number " Add a vertical ruler. set colorcolumn=80 +" Show a few lines of context around the cursor. +set scrolloff=5 " ----------------------------------------------------------------------------- " Key bindings -- cgit v1.2.3