Add keybinds for zoom (st)

This commit is contained in:
mintycube 2024-04-27 20:29:42 +05:00
parent c16ec0c04c
commit c9a9fde64e

View File

@ -266,8 +266,10 @@ static Shortcut shortcuts[] = {
{ControlMask, XK_Print, toggleprinter, {.i = 0}}, {ControlMask, XK_Print, toggleprinter, {.i = 0}},
{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}},
{TERMMOD, XK_Prior, zoom, {.f = +1}}, {TERMMOD, XK_Up, zoom, {.f = +1}},
{TERMMOD, XK_Next, zoom, {.f = -1}}, {TERMMOD, XK_Down, zoom, {.f = -1}},
{MODKEY, XK_equal, zoom, {.f = +2}},
{MODKEY, XK_minus, zoom, {.f = -2}},
{TERMMOD, XK_Home, zoomreset, {.f = 0}}, {TERMMOD, 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}},