Use vim-ish keybindings for scrollback

master
Hektor Misplon 2021-02-21 17:42:38 +01:00
parent cb78fe1726
commit 404defffdd
1 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
diff --git a/config.def.h b/config.def.h
diff --git a/config.h b/config.h
index 0895a1f..eef24df 100644
--- a/config.def.h
+++ b/config.def.h
--- a/config.h
+++ b/config.h
@@ -188,6 +188,8 @@ 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|ShiftMask, XK_K, kscrollup, {.i = -1} },
+ { MODKEY|ShiftMask, XK_J, kscrolldown, {.i = -1} },
};
/*