Shortcuts
This commit is contained in:
parent
ccef5ed84f
commit
eff4b5183b
15
config.h
15
config.h
|
@ -225,9 +225,12 @@ static MouseShortcut mshortcuts[] = {
|
||||||
|
|
||||||
/* Internal keyboard shortcuts. */
|
/* Internal keyboard shortcuts. */
|
||||||
#define MODKEY Mod1Mask
|
#define MODKEY Mod1Mask
|
||||||
#define TERMMOD (ControlMask|ShiftMask)
|
// #define TERMMOD (ControlMask|ShiftMask)
|
||||||
|
#define TERMMOD (ShiftMask|ControlMask)
|
||||||
#define CTRLALT (ControlMask|Mod1Mask)
|
#define CTRLALT (ControlMask|Mod1Mask)
|
||||||
|
|
||||||
|
// #define TERMMOD (Mod1Mask|ShiftMask)
|
||||||
|
|
||||||
MouseKey mkeys[] = {
|
MouseKey mkeys[] = {
|
||||||
/* button mask function argument */
|
/* button mask function argument */
|
||||||
{ Button4, XK_NO_MOD, kscrollup, {.i = 1} },
|
{ Button4, XK_NO_MOD, kscrollup, {.i = 1} },
|
||||||
|
@ -251,18 +254,18 @@ static Shortcut shortcuts[] = {
|
||||||
{ ShiftMask, XK_Print, printscreen, {.i = 0} },
|
{ ShiftMask, XK_Print, printscreen, {.i = 0} },
|
||||||
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
|
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
|
||||||
{ MODKEY, XK_Home, zoomreset, {.f = 0} },
|
{ MODKEY, XK_Home, zoomreset, {.f = 0} },
|
||||||
{ TERMMOD, XK_c, clipcopy, {.i = 0} },
|
{ ControlMask|ShiftMask,XK_C, clipcopy, {.i = 0} },
|
||||||
{ ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
{ ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
||||||
{ TERMMOD, XK_v, clippaste, {.i = 0} },
|
{ ControlMask|ShiftMask,XK_V, clippaste, {.i = 0} },
|
||||||
{ XK_ANY_MOD, Button2, selpaste, {.i = 0} },
|
{ XK_ANY_MOD, Button2, selpaste, {.i = 0} },
|
||||||
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} },
|
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} },
|
||||||
{ MODKEY, XK_Control_L, iso14755, {.i = 0} },
|
{ MODKEY, XK_Control_L, iso14755, {.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_Up, kscrollup, {.i = -1} },
|
||||||
{ MODKEY, XK_Page_Down, kscrolldown, {.i = -1} },
|
{ MODKEY, XK_Page_Down, kscrolldown, {.i = -1} },
|
||||||
{ TERMMOD, XK_k, kscrollup, {.i = 1} },
|
{ TERMMOD, XK_K, kscrollup, {.i = 1} },
|
||||||
{ TERMMOD, XK_j, kscrolldown, {.i = 1} },
|
{ TERMMOD, XK_J, kscrolldown, {.i = 1} },
|
||||||
{ TERMMOD, XK_Up, kscrollup, {.i = 1} },
|
{ TERMMOD, XK_Up, kscrollup, {.i = 1} },
|
||||||
{ TERMMOD, XK_Down, kscrolldown, {.i = 1} },
|
{ TERMMOD, XK_Down, kscrolldown, {.i = 1} },
|
||||||
{ CTRLALT, XK_l, externalpipe, {.v = openurlcmd } },
|
{ CTRLALT, XK_l, externalpipe, {.v = openurlcmd } },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user