From c17b6b13b269e717623d140b16d7b4e048e4a356 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Fri, 30 Jan 2026 07:05:16 +0100 Subject: [PATCH] adjust lazygit scrolling behavior --- modules/lazygit.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/lazygit.nix b/modules/lazygit.nix index 1b41579..4f6c36c 100644 --- a/modules/lazygit.nix +++ b/modules/lazygit.nix @@ -91,6 +91,9 @@ # Diff context size diffContextSize = 3; + + # Scroll amount per keystroke + scrollHeight = 20; }; # Git settings @@ -205,12 +208,8 @@ new = "n"; edit = "e"; openFile = "o"; - scrollUpMain = ""; - scrollDownMain = ""; - scrollUpMain-alt1 = "K"; - scrollDownMain-alt1 = "J"; - scrollUpMain-alt2 = ""; - scrollDownMain-alt2 = ""; + scrollUpMain = ""; + scrollDownMain = ""; executeShellCommand = ":"; createRebaseOptionsMenu = "m";