diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-10 10:40:53 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-10 10:40:53 +0300 |
commit | fbdb0a92a6107fc21ffcd4be6a413a6c34167c52 (patch) | |
tree | bd0ebf1be1b8ba9147f9005b2d3c720faf0e5d00 /src/ui/keys.h | |
parent | 42c455a7cb92def894e394f8702e081488965c50 (diff) |
Linux: Tweaking shortcut keys
Diffstat (limited to 'src/ui/keys.h')
-rw-r--r-- | src/ui/keys.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/keys.h b/src/ui/keys.h index cf6aad04..a9b13df3 100644 --- a/src/ui/keys.h +++ b/src/ui/keys.h | |||
@@ -25,13 +25,19 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
25 | #include <the_Foundation/defs.h> | 25 | #include <the_Foundation/defs.h> |
26 | 26 | ||
27 | #if defined (iPlatformApple) | 27 | #if defined (iPlatformApple) |
28 | # define reload_KeyShortcut SDLK_r, KMOD_PRIMARY | ||
28 | # define prevTab_KeyShortcut SDLK_LEFTBRACKET, KMOD_SHIFT | KMOD_PRIMARY | 29 | # define prevTab_KeyShortcut SDLK_LEFTBRACKET, KMOD_SHIFT | KMOD_PRIMARY |
29 | # define nextTab_KeyShortcut SDLK_RIGHTBRACKET, KMOD_SHIFT | KMOD_PRIMARY | 30 | # define nextTab_KeyShortcut SDLK_RIGHTBRACKET, KMOD_SHIFT | KMOD_PRIMARY |
30 | # define navigateBack_KeyShortcut SDLK_LEFT, KMOD_PRIMARY | 31 | # define navigateBack_KeyShortcut SDLK_LEFT, KMOD_PRIMARY |
31 | # define navigateForward_KeyShortcut SDLK_RIGHT, KMOD_PRIMARY | 32 | # define navigateForward_KeyShortcut SDLK_RIGHT, KMOD_PRIMARY |
33 | # define byWord_KeyModifier KMOD_ALT | ||
34 | # define byLine_KeyModifier KMOD_PRIMARY | ||
32 | #else | 35 | #else |
36 | # define reload_KeyShortcut SDLK_r, KMOD_PRIMARY | ||
33 | # define prevTab_KeyShortcut SDLK_PAGEUP, KMOD_PRIMARY | 37 | # define prevTab_KeyShortcut SDLK_PAGEUP, KMOD_PRIMARY |
34 | # define nextTab_KeyShortcut SDLK_PAGEDOWN, KMOD_PRIMARY | 38 | # define nextTab_KeyShortcut SDLK_PAGEDOWN, KMOD_PRIMARY |
35 | # define navigateBack_KeyShortcut SDLK_LEFT, KMOD_ALT | 39 | # define navigateBack_KeyShortcut SDLK_LEFT, KMOD_ALT |
36 | # define navigateForward_KeyShortcut SDLK_RIGHT, KMOD_ALT | 40 | # define navigateForward_KeyShortcut SDLK_RIGHT, KMOD_ALT |
41 | # define byWord_KeyModifier KMOD_CTRL | ||
42 | # define byLine_KeyModifier 0 | ||
37 | #endif | 43 | #endif |