summaryrefslogtreecommitdiff
path: root/src/ui/keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/keys.h')
-rw-r--r--src/ui/keys.h6
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