diff options
| author | ache <ache@ache.one> | 2025-02-18 03:05:01 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2025-02-18 03:05:01 +0100 |
| commit | 6b61f90e566bcc693871cc817050cf07c8ca15e7 (patch) | |
| tree | 278ec8060baddb9d7eda2d8b40d498e2e0b0b7ee | |
| parent | Config tabby (diff) | |
Improve scrolloff
| -rw-r--r-- | init.lua | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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). |