diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-01 19:27:17 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-01 19:43:52 +0100 |
commit | 515b61861b8ecda63ba2bb9149d7118b4a5ea250 (patch) | |
tree | d1c93a8691d9a0c61088b43ff03b3882bb9b9cc2 | |
parent | vim: fix a comment (diff) | |
download | linux-home-515b61861b8ecda63ba2bb9149d7118b4a5ea250.tar.gz linux-home-515b61861b8ecda63ba2bb9149d7118b4a5ea250.zip |
vim: set scrolloff
Also done for platforms without vimrc_example.vim.
-rw-r--r-- | %HOME%/.vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
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 |