Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Applying the tab expansion patch from koga.
[st.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
5c4c518
..
67b1316
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-1,4
+1,8
@@
+/*
+ * Do not include the »pixelsize« parameter in your font definition. It is
+ * used to calculate zooming.
+ */
#define FONT "Liberation Mono:pixelsize=12:antialias=false:autohint=false"
/* Space in pixels around the terminal buffer */
#define FONT "Liberation Mono:pixelsize=12:antialias=false:autohint=false"
/* Space in pixels around the terminal buffer */
@@
-73,6
+77,15
@@
static Key key[] = {
{ XK_F12, XK_NO_MOD, "\033[24~" },
};
{ 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"
/* Set TERM to this */
#define TNAME "st-256color"
@@
-81,3
+94,4
@@
static Key key[] = {
#define TRIPLECLICK_TIMEOUT (2*DOUBLECLICK_TIMEOUT)
#define TAB 8
#define TRIPLECLICK_TIMEOUT (2*DOUBLECLICK_TIMEOUT)
#define TAB 8
+