From 5a351dfcff327c0050e82a9ad0be8678d479c0ef Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 31 Jan 2024 15:44:54 +0100 Subject: [PATCH] scroll with zj zk --- lua/custom/mappings.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/custom/mappings.lua b/lua/custom/mappings.lua index e6047d0..58f37fb 100644 --- a/lua/custom/mappings.lua +++ b/lua/custom/mappings.lua @@ -359,6 +359,10 @@ M.movements = { -- spell ["]s"] = { "]s", "go to next spelling mark" }, ["[s"] = { "[s", "go to last spelling mark" }, + + -- just scroll a line + ["zk"] = { "", "scroll up a line" }, + ["zj"] = { "", "scroll down a line" }, }, v = { --big move