mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-07 20:06:01 +01:00
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%.
This commit is contained in:
parent
454b356f37
commit
59b202ca4a
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ Shortcut shortcuts[] = {
|
||||||
{GDK_CONTROL_MASK, GDK_m, sc_toggle_inputbar, NORMAL, {0} },
|
{GDK_CONTROL_MASK, GDK_m, sc_toggle_inputbar, NORMAL, {0} },
|
||||||
{GDK_CONTROL_MASK, GDK_n, sc_toggle_statusbar, NORMAL, {0} },
|
{GDK_CONTROL_MASK, GDK_n, sc_toggle_statusbar, NORMAL, {0} },
|
||||||
{GDK_CONTROL_MASK, GDK_q, sc_quit, ALL, {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 */
|
/* inputbar shortcuts */
|
||||||
|
|
Loading…
Reference in a new issue