bind everything related to view changes to ControlMask

This commit is contained in:
gutmet 2021-03-15 11:35:33 +01:00
parent 003276c611
commit 1673dd46da

View File

@ -193,14 +193,14 @@ static Shortcut shortcuts[] = {
{ XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} },
{ ControlMask, XK_plus, zoom, {.f = +1} }, { ControlMask, XK_plus, zoom, {.f = +1} },
{ ControlMask, XK_minus, zoom, {.f = -1} }, { ControlMask, XK_minus, zoom, {.f = -1} },
{ TERMMOD, XK_Home, zoomreset, {.f = 0} }, { ControlMask, XK_Home, zoomreset, {.f = 0} },
{ TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} },
{ TERMMOD, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} },
{ TERMMOD, XK_Y, selpaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = 3} }, { ControlMask, XK_Page_Up, kscrollup, {.i = 3} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = 3} }, { ControlMask, XK_Page_Down, kscrolldown, {.i = 3} },
}; };
/* /*