summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
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).