st

my build of st
git clone git://git.hanetzok.net/st
Log | Files | Refs | README | LICENSE

commit 5fcb8c87f88091128685c2523c7aeca79393c70f
parent 48066645902bfb19e370b496f21c7f3e3b87e753
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Sun, 22 Dec 2024 22:30:58 +0100

adjust scrollback keybinding

Diffstat:
Mconfig.def.h | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -203,8 +203,10 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_Y, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, - { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} }, - { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} }, + { MODKEY, XK_Page_Up, kscrollup, {.i = -1} }, + { MODKEY, XK_Page_Down, kscrolldown, {.i = -1} }, + { MODKEY, XK_k, kscrollup, {.i = +1} }, + { MODKEY, XK_j, kscrolldown, {.i = +1} }, }; /* @@ -476,3 +478,4 @@ static char ascii_printable[] = " !\"#$%&'()*+,-./0123456789:;<=>?" "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_" "`abcdefghijklmnopqrstuvwxyz{|}~"; +