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