From e0b03339c32b384c3600d39d79e5bc3c185875eb Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 25 Nov 2024 05:25:24 +0100 Subject: Scroll options --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 6584fdd..108fdeb 100644 --- a/init.lua +++ b/init.lua @@ -1,2 +1,5 @@ require("ache.config") require("ache.lazy") + +vim.o.scrolloff = 20 -- Keep 20 lines below and above the cursor +vim.o.scrolljump = 6 -- Scroll 6 lines instead of one when reached an "end of screen" (above or below). -- cgit v1.3-2-g11bf