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.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c
index 255e45ce..beb5f386 100644
--- a/src/ui/keys.c
+++ b/src/ui/keys.c
@@ -226,10 +226,18 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] =
226 { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, 226 { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 },
227 /* The following cannot currently be changed (built-in duplicates). */ 227 /* The following cannot currently be changed (built-in duplicates). */
228#if defined (iPlatformApple) 228#if defined (iPlatformApple)
229 { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 }, 229 { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 },
230 { 1003, { NULL, SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, 0 }, 230 { 1003, { NULL, SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, 0 },
231#endif 231#endif
232 { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, 232 { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 },
233 /* Media keys. */
234 { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 },
235 { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 },
236 { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 },
237 { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 },
238 { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 },
239 { 1010, { NULL, SDLK_AC_REFRESH, 0, "navigate.reload" }, 0 },
240 { 1011, { NULL, SDLK_AC_BOOKMARKS, 0, "sidebar.mode arg:0 toggle:1" }, 0 },
233}; 241};
234 242
235static iBinding *findId_Keys_(iKeys *d, int id) { 243static iBinding *findId_Keys_(iKeys *d, int id) {