From 7115c4acee77c7468a66e41daeee9d09b040a0e2 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 8 Aug 2019 16:21:37 +0100 Subject: [PATCH] Makes st use ctrl+shift+j or k to zoom --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.def.h b/config.def.h index 2ea9970..6410a41 100644 --- a/config.def.h +++ b/config.def.h @@ -170,6 +170,8 @@ static Shortcut shortcuts[] = { { ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, + { TERMMOD, XK_J, zoom, {.f = +1} }, + { TERMMOD, XK_K, zoom, {.f = -1} }, { TERMMOD, XK_Prior, zoom, {.f = +1} }, { TERMMOD, XK_Next, zoom, {.f = -1} }, { TERMMOD, XK_Home, zoomreset, {.f = 0} },