adjust lazygit scrolling behavior

This commit is contained in:
Yan Lin 2026-01-30 07:05:16 +01:00
parent 942cc7f5b3
commit c17b6b13b2

View file

@ -91,6 +91,9 @@
# Diff context size # Diff context size
diffContextSize = 3; diffContextSize = 3;
# Scroll amount per keystroke
scrollHeight = 20;
}; };
# Git settings # Git settings
@ -205,12 +208,8 @@
new = "n"; new = "n";
edit = "e"; edit = "e";
openFile = "o"; openFile = "o";
scrollUpMain = "<pgup>"; scrollUpMain = "<c-b>";
scrollDownMain = "<pgdown>"; scrollDownMain = "<c-f>";
scrollUpMain-alt1 = "K";
scrollDownMain-alt1 = "J";
scrollUpMain-alt2 = "<c-u>";
scrollDownMain-alt2 = "<c-d>";
executeShellCommand = ":"; executeShellCommand = ":";
createRebaseOptionsMenu = "m"; createRebaseOptionsMenu = "m";