diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-10 22:16:57 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-10 22:16:57 +0200 |
commit | a3a89bd8cf269953d3c41cfc9bf5e76caffe1866 (patch) | |
tree | 9693d78ef15eb74824511f4f6d0cb5d8dd678af5 /src/ui/keys.c | |
parent | 2f193a8b9a151ce218cd1996cd705604c153a00b (diff) |
Added a keybinding to hover on links via keyboard
Enables viewing full URLs when navigating via keyboard.
Diffstat (limited to 'src/ui/keys.c')
-rw-r--r-- | src/ui/keys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c index 99000d54..941dda54 100644 --- a/src/ui/keys.c +++ b/src/ui/keys.c | |||
@@ -77,6 +77,7 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = | |||
77 | { 35, { "Reload page", reload_KeyShortcut, "document.reload" }, 0 }, | 77 | { 35, { "Reload page", reload_KeyShortcut, "document.reload" }, 0 }, |
78 | { 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 }, |
79 | { 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 }, |
80 | { 45, { "Hover on link via home row keys", 'f', KMOD_SHIFT, "document.linkkeys arg:1 hover:1" }, 0 }, | ||
80 | { 70, { "Zoom in", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 0 }, | 81 | { 70, { "Zoom in", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, 0 }, |
81 | { 71, { "Zoom out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, 0 }, | 82 | { 71, { "Zoom out", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, 0 }, |
82 | { 72, { "Reset zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, 0 }, | 83 | { 72, { "Reset zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, 0 }, |