Dotfiles config update (2022-07-08)
This commit is contained in:
parent
3f8e45568c
commit
6b2e84a2dd
|
@ -186,6 +186,8 @@ static uint forcemousemod = ShiftMask;
|
||||||
*/
|
*/
|
||||||
static MouseShortcut mshortcuts[] = {
|
static MouseShortcut mshortcuts[] = {
|
||||||
/* mask button function argument release */
|
/* mask button function argument release */
|
||||||
|
{ XK_NO_MOD, Button4, kscrollup, {.i = 5} },
|
||||||
|
{ XK_NO_MOD, Button5, kscrolldown, {.i = 5} },
|
||||||
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
|
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
|
||||||
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
|
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
|
||||||
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
|
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
|
||||||
|
@ -215,6 +217,14 @@ static Shortcut shortcuts[] = {
|
||||||
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
||||||
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
||||||
{ ShiftMask, XK_Page_Down, kscrolldown, {.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 = 3} },
|
||||||
|
{ MODKEY, XK_j, kscrolldown, {.i = 3} },
|
||||||
|
{ MODKEY, XK_Up, kscrollup, {.i = 3} },
|
||||||
|
{ MODKEY, XK_Down, kscrolldown, {.i = 3} },
|
||||||
|
{ MODKEY, XK_u, kscrollup, {.i = -1} },
|
||||||
|
{ MODKEY, XK_d, kscrolldown, {.i = -1} },
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -186,6 +186,8 @@ static uint forcemousemod = ShiftMask;
|
||||||
*/
|
*/
|
||||||
static MouseShortcut mshortcuts[] = {
|
static MouseShortcut mshortcuts[] = {
|
||||||
/* mask button function argument release */
|
/* mask button function argument release */
|
||||||
|
{ XK_NO_MOD, Button4, kscrollup, {.i = 5} },
|
||||||
|
{ XK_NO_MOD, Button5, kscrolldown, {.i = 5} },
|
||||||
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
|
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
|
||||||
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
|
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
|
||||||
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
|
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
|
||||||
|
@ -215,6 +217,14 @@ static Shortcut shortcuts[] = {
|
||||||
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
||||||
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
||||||
{ ShiftMask, XK_Page_Down, kscrolldown, {.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 = 3} },
|
||||||
|
{ MODKEY, XK_j, kscrolldown, {.i = 3} },
|
||||||
|
{ MODKEY, XK_Up, kscrollup, {.i = 3} },
|
||||||
|
{ MODKEY, XK_Down, kscrolldown, {.i = 3} },
|
||||||
|
{ MODKEY, XK_u, kscrollup, {.i = -1} },
|
||||||
|
{ MODKEY, XK_d, kscrolldown, {.i = -1} },
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user