X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/d1dc0489125c15e95c2fa989f279877600c2cd00..50432e3a8a560e15c820a2f7f6be2685b47efdd0:/config.def.h?ds=sidebyside diff --git a/config.def.h b/config.def.h index 133d853..3b696ad 100644 --- a/config.def.h +++ b/config.def.h @@ -188,7 +188,7 @@ static MouseShortcut mshortcuts[] = { /* Internal keyboard shortcuts. */ #define MODKEY Mod1Mask -#define TERMMOD (ControlMask|ShiftMask) +#define TERMMOD (MODKEY|ShiftMask) static Shortcut shortcuts[] = { /* mask keysym function argument */ @@ -204,6 +204,8 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_Y, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} }, { TERMMOD, XK_Num_Lock, numlock, {.i = 0} }, + { TERMMOD, XK_K, zoom, {.f = +1} }, + { TERMMOD, XK_J, zoom, {.f = -1} }, }; /*