From 33cccffc7da5243121c059164bb880d9eff6f614 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 12 Jul 2021 03:28:18 +0200 Subject: [PATCH] Add scrolloff distances --- home/.config/nvim/init.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index 1b9aa0b..13786f9 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -48,6 +48,8 @@ set mouse=a " Enable mouse mode set encoding=utf-8 " Use UTF-8, not ASCII (May cause issues on TTY) set path+=** " Search down into subfolders with tab completion set wildmenu " Display all matching files when we tab complete +set scrolloff=5 " Keep 5 lines horizontal scrolloff +set sidescrolloff=5 " Keep 5 characters vertical scrolloff "set termguicolors " Use true colors (256) (May cause issues on TTY) " Disable automatic commenting on newline