X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/2752018e27420947a034d50f1ce165bbb76ae1a8..e5d7c5a69e17d858984fe2c28b7d026672f42177:/config.def.h diff --git a/config.def.h b/config.def.h index 9c64948..a8f48ea 100644 --- a/config.def.h +++ b/config.def.h @@ -1,5 +1,5 @@ -#define FONT "Liberation Mono:pixelsize=12:antialias=true:autohint=false" +#define FONT "Liberation Mono:pixelsize=12:antialias=false:autohint=false" /* Space in pixels around the terminal buffer */ #define BORDER 2 @@ -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 +