diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-05 07:22:01 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-05 07:22:01 +0200 |
commit | 6a002b8f578ec59fb452b83a6af64d153f22b076 (patch) | |
tree | bf560015e17f58e1ae98b3c161de58675fec160e /src/ui/keys.c | |
parent | 20a176e1d91514ff2e060c67e448d014ee9b8806 (diff) |
Keybindings for Back/Forward navigation
Diffstat (limited to 'src/ui/keys.c')
-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 04b4793b..d759d40e 100644 --- a/src/ui/keys.c +++ b/src/ui/keys.c | |||
@@ -65,6 +65,8 @@ static void bindDefaults_(void) { | |||
65 | bindLabel_Keys(11, "scroll.step arg:1", SDLK_DOWN, 0, "Scroll down"); | 65 | bindLabel_Keys(11, "scroll.step arg:1", SDLK_DOWN, 0, "Scroll down"); |
66 | bindLabel_Keys(20, "scroll.page arg:-1", SDLK_PAGEUP, 0, "Scroll up half a page"); | 66 | bindLabel_Keys(20, "scroll.page arg:-1", SDLK_PAGEUP, 0, "Scroll up half a page"); |
67 | bindLabel_Keys(21, "scroll.page arg:1", SDLK_PAGEDOWN, 0, "Scroll down half a page"); | 67 | bindLabel_Keys(21, "scroll.page arg:1", SDLK_PAGEDOWN, 0, "Scroll down half a page"); |
68 | bindLabel_Keys(30, "navigate.back", navigateBack_KeyShortcut, "Navigate back"); | ||
69 | bindLabel_Keys(31, "navigate.forward", navigateForward_KeyShortcut, "Navigate forward"); | ||
68 | /* The following cannot currently be changed (built-in duplicates). */ | 70 | /* The following cannot currently be changed (built-in duplicates). */ |
69 | bind_Keys(1000, "scroll.page arg:-1", SDLK_SPACE, KMOD_SHIFT); | 71 | bind_Keys(1000, "scroll.page arg:-1", SDLK_SPACE, KMOD_SHIFT); |
70 | bind_Keys(1001, "scroll.page arg:1", SDLK_SPACE, 0); | 72 | bind_Keys(1001, "scroll.page arg:1", SDLK_SPACE, 0); |