diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c index 6dc28237..99000d54 100644 --- a/src/ui/keys.c +++ b/src/ui/keys.c | |||
@@ -74,6 +74,7 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = | |||
74 | { 31, { "Go forward", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | 74 | { 31, { "Go forward", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, |
75 | { 32, { "Go to parent directory", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | 75 | { 32, { "Go to parent directory", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, |
76 | { 33, { "Go to site root", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | 76 | { 33, { "Go to site root", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, |
77 | { 35, { "Reload page", reload_KeyShortcut, "document.reload" }, 0 }, | ||
77 | { 40, { "Open link via home row keys", 'f', 0, "document.linkkeys arg:1" }, 0 }, | 78 | { 40, { "Open link via home row keys", 'f', 0, "document.linkkeys arg:1" }, 0 }, |
78 | { 41, { "Open link via modifier key", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | 79 | { 41, { "Open link via modifier key", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, |
79 | { 70, { "Zoom in", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 0 }, | 80 | { 70, { "Zoom in", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 0 }, |
@@ -88,6 +89,7 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = | |||
88 | { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 }, | 89 | { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 }, |
89 | { 1003, { NULL, SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, 0 }, | 90 | { 1003, { NULL, SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, 0 }, |
90 | #endif | 91 | #endif |
92 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | ||
91 | }; | 93 | }; |
92 | 94 | ||
93 | static iBinding *findId_Keys_(iKeys *d, int id) { | 95 | static iBinding *findId_Keys_(iKeys *d, int id) { |