Fix copy/paste shortcuts

This commit is contained in:
Przemek Grondek 2023-10-24 18:39:39 +02:00
parent 9b955a39da
commit f29671710e

View File

@ -215,9 +215,9 @@ static Shortcut shortcuts[] = {
{ MODKEY, XK_Prior, zoom, {.f = +1} }, { MODKEY, XK_Prior, zoom, {.f = +1} },
{ MODKEY, XK_Next, zoom, {.f = -1} }, { MODKEY, XK_Next, zoom, {.f = -1} },
{ MODKEY, XK_Home, zoomreset, {.f = 0} }, { MODKEY, XK_Home, zoomreset, {.f = 0} },
{ MODKEY, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} },
{ MODKEY, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} },
{ MODKEY, XK_Y, selpaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.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} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} },