summaryrefslogtreecommitdiff
path: root/src/ui/keys.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-30 10:59:19 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-30 10:59:19 +0200
commit11dc131dfcd4446fdbfa7c50d792a9163e487e64 (patch)
tree756e9c670075b2b7b81371389b35722e116e6857 /src/ui/keys.c
parent1baf43e79a7e2fd055a9868c830174354b38f7e0 (diff)
Added keybindings for prev/next tab
IssueID #75
Diffstat (limited to 'src/ui/keys.c')
-rw-r--r--src/ui/keys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c
index d42ecfba..0a0295ac 100644
--- a/src/ui/keys.c
+++ b/src/ui/keys.c
@@ -76,6 +76,8 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] =
76 { 33, { "Go to site root", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, 76 { 33, { "Go to site root", navigateRoot_KeyShortcut, "navigate.root" }, 0 },
77 { 40, { "Open link via home row keys", 'f', 0, "document.linkkeys arg:1" }, 0 }, 77 { 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 }, 78 { 41, { "Open link via modifier key", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag },
79 { 80, { "Previous tab", prevTab_KeyShortcut, "tabs.prev" }, 0 },
80 { 81, { "Next tab", nextTab_KeyShortcut, "tabs.next" }, 0 },
79 /* The following cannot currently be changed (built-in duplicates). */ 81 /* The following cannot currently be changed (built-in duplicates). */
80 { 1000, { NULL, SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, 82 { 1000, { NULL, SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag },
81 { 1001, { NULL, SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, 83 { 1001, { NULL, SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag },