From 7b272cb13b762462059e99670bb6873fdf3a4eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hend=C3=A9n?= Date: Tue, 26 Nov 2024 08:29:11 -0400 Subject: [PATCH] change scrolloff 3 -> 2 --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index f8e2cbf3..534e25d5 100644 --- a/init.lua +++ b/init.lua @@ -58,7 +58,7 @@ vim.opt.list = false vim.opt.listchars = { tab = '▸·', trail = '▸', eol = '$', nbsp = '␣' } vim.opt.inccommand = 'split' -- Preview substitutions live, as you type! vim.opt.cursorline = true -- Show which line your cursor is on -vim.opt.scrolloff = 3 -- Minimal number of screen lines to keep above and below the cursor. +vim.opt.scrolloff = 2 -- Minimal number of screen lines to keep above and below the cursor. -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands`