summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 108fdeb..92b8feb 100644
--- a/init.lua
+++ b/init.lua
@@ -1,5 +1,8 @@
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).
+vim.o.scrolloff = 10 --[[
+ Keep X lines below and above the cursor
+ cf scrolloffEOF.lua to extend this feature.
+ --]]
+vim.o.scrolljump = 6 -- Scroll X lines instead of one when reached an "end of screen" (above or below).