diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 5c4c518..67b1316 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -1,4 +1,8 @@ | |||
| 1 | 1 | ||
| 2 | /* | ||
| 3 | * Do not include the »pixelsize« parameter in your font definition. It is | ||
| 4 | * used to calculate zooming. | ||
| 5 | */ | ||
| 2 | #define FONT "Liberation Mono:pixelsize=12:antialias=false:autohint=false" | 6 | #define FONT "Liberation Mono:pixelsize=12:antialias=false:autohint=false" |
| 3 | 7 | ||
| 4 | /* Space in pixels around the terminal buffer */ | 8 | /* Space in pixels around the terminal buffer */ |
| @@ -73,6 +77,15 @@ static Key key[] = { | |||
| 73 | { XK_F12, XK_NO_MOD, "\033[24~" }, | 77 | { XK_F12, XK_NO_MOD, "\033[24~" }, |
| 74 | }; | 78 | }; |
| 75 | 79 | ||
| 80 | /* Internal shortcuts. */ | ||
| 81 | #define MODKEY Mod1Mask | ||
| 82 | |||
| 83 | static Shortcut shortcuts[] = { | ||
| 84 | /* modifier key function argument */ | ||
| 85 | { MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} }, | ||
| 86 | { MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} }, | ||
| 87 | }; | ||
| 88 | |||
| 76 | /* Set TERM to this */ | 89 | /* Set TERM to this */ |
| 77 | #define TNAME "st-256color" | 90 | #define TNAME "st-256color" |
| 78 | 91 | ||
| @@ -81,3 +94,4 @@ static Key key[] = { | |||
| 81 | #define TRIPLECLICK_TIMEOUT (2*DOUBLECLICK_TIMEOUT) | 94 | #define TRIPLECLICK_TIMEOUT (2*DOUBLECLICK_TIMEOUT) |
| 82 | 95 | ||
| 83 | #define TAB 8 | 96 | #define TAB 8 |
| 97 | |||
