From 3f346ba2887f313fc3dceaef89b2e8197b9ad93c Mon Sep 17 00:00:00 2001 From: "markus.dieckmann" Date: Mon, 12 May 2025 11:29:01 +0200 Subject: [PATCH] scrolloff --- nvim/lua/config/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 79834ff..c311baa 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -71,7 +71,7 @@ vim.opt.cursorline = true vim.opt.cursorcolumn = true -- Minimal number of screen lines to keep above and below the cursor. -vim.opt.scrolloff = 10 +vim.opt.scrolloff = 35 -- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`), -- instead raise a dialog asking if you wish to save the current file(s)