summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2024-11-25 05:25:24 +0100
committerache <ache@ache.one>2024-11-25 05:25:24 +0100
commite0b03339c32b384c3600d39d79e5bc3c185875eb (patch)
tree86c99f6afa844ec8866d3380ccf29d7163355744
parentRename rust lsp ruff (diff)
Scroll options
-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).