From 3b8efee3edd8f9147a1b34eb24742c3377c36058 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 31 Oct 2010 10:30:26 +0100 Subject: [PATCH] Add more familiar zoom keybindings (closes #45) One can use '+' to zoom in, '-' to zoom out and '=' to set the zoom level back to 100%. --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.def.h b/config.def.h index 9a65d21..e18e409 100644 --- a/config.def.h +++ b/config.def.h @@ -146,6 +146,9 @@ Shortcut shortcuts[] = { {GDK_CONTROL_MASK, GDK_m, sc_toggle_inputbar, NORMAL, {0} }, {GDK_CONTROL_MASK, GDK_n, sc_toggle_statusbar, NORMAL, {0} }, {GDK_CONTROL_MASK, GDK_q, sc_quit, ALL, {0} }, + {0, GDK_plus, sc_zoom, NORMAL | FULLSCREEN, { ZOOM_IN } }, + {0, GDK_minus, sc_zoom, NORMAL | FULLSCREEN, { ZOOM_OUT } }, + {0, GDK_equal, sc_zoom, NORMAL | FULLSCREEN, { ZOOM_ORIGINAL } }, }; /* inputbar shortcuts */