Commit 3b8efee3 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

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%.
parent de0d0fb4
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment