summaryrefslogtreecommitdiff
path: root/src/ui/keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/keys.c')
-rw-r--r--src/ui/keys.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c
index 656a52ac..0f4a19f7 100644
--- a/src/ui/keys.c
+++ b/src/ui/keys.c
@@ -84,6 +84,9 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] =
84 { 70, { "Zoom in", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 0 }, 84 { 70, { "Zoom in", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 0 },
85 { 71, { "Zoom out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, 0 }, 85 { 71, { "Zoom out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, 0 },
86 { 72, { "Reset zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, 0 }, 86 { 72, { "Reset zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, 0 },
87#if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */
88 { 73, { "Toggle fullscreen mode", SDLK_F11, 0, "window.fullscreen" }, 0 },
89#endif
87 { 76, { "New tab", newTab_KeyShortcut, "tabs.new" }, 0 }, 90 { 76, { "New tab", newTab_KeyShortcut, "tabs.new" }, 0 },
88 { 77, { "Close tab", closeTab_KeyShortcut, "tabs.close" }, 0 }, 91 { 77, { "Close tab", closeTab_KeyShortcut, "tabs.close" }, 0 },
89 { 80, { "Previous tab", prevTab_KeyShortcut, "tabs.prev" }, 0 }, 92 { 80, { "Previous tab", prevTab_KeyShortcut, "tabs.prev" }, 0 },