X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.def.h;h=a8f48eaad53e375481dc053887749e917246d8b8;hb=784765ca35389a9579976d3e5ec9dc73de4bf4d9;hp=5c4c518f2b5db2a508a3ebc3a5f795bb23131cd1;hpb=5caa46cf575a48e6421aaf8757e066f6d32263d9;p=st.git diff --git a/config.def.h b/config.def.h index 5c4c518..a8f48ea 100644 --- a/config.def.h +++ b/config.def.h @@ -73,6 +73,15 @@ static Key key[] = { { XK_F12, XK_NO_MOD, "\033[24~" }, }; +/* Internal shortcuts. */ +#define MODKEY Mod1Mask + +static Shortcut shortcuts[] = { + /* modifier key function argument */ + { MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} }, + { MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} }, +}; + /* Set TERM to this */ #define TNAME "st-256color" @@ -81,3 +90,4 @@ static Key key[] = { #define TRIPLECLICK_TIMEOUT (2*DOUBLECLICK_TIMEOUT) #define TAB 8 +