modified alt j/k to scroll

master
meftimes 2023-09-06 09:56:38 -04:00
parent 063383fdac
commit 6e8899ff23
4 changed files with 3 additions and 3 deletions

View File

@ -223,7 +223,7 @@ static MouseShortcut mshortcuts[] = {
/* Internal keyboard shortcuts. */
#define MODKEY Mod1Mask
#define TERMMOD (ControlMask|ShiftMask)
#define TERMMOD (Mod1Mask|ShiftMask)
static Shortcut shortcuts[] = {
/* mask keysym function argument */
@ -239,8 +239,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, XK_k, kscrollup, {.i = -1} },
{ MODKEY, XK_j, kscrolldown, {.i = -1} },
};
/*

BIN
st 100755

Binary file not shown.

BIN
st.o 100644

Binary file not shown.

BIN
x.o 100644

Binary file not shown.