From fbdb0a92a6107fc21ffcd4be6a413a6c34167c52 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 10 Sep 2020 10:40:53 +0300 Subject: Linux: Tweaking shortcut keys --- src/ui/keys.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ui/keys.h') 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. */ #include #if defined (iPlatformApple) +# define reload_KeyShortcut SDLK_r, KMOD_PRIMARY # define prevTab_KeyShortcut SDLK_LEFTBRACKET, KMOD_SHIFT | KMOD_PRIMARY # define nextTab_KeyShortcut SDLK_RIGHTBRACKET, KMOD_SHIFT | KMOD_PRIMARY # define navigateBack_KeyShortcut SDLK_LEFT, KMOD_PRIMARY # define navigateForward_KeyShortcut SDLK_RIGHT, KMOD_PRIMARY +# define byWord_KeyModifier KMOD_ALT +# define byLine_KeyModifier KMOD_PRIMARY #else +# define reload_KeyShortcut SDLK_r, KMOD_PRIMARY # define prevTab_KeyShortcut SDLK_PAGEUP, KMOD_PRIMARY # define nextTab_KeyShortcut SDLK_PAGEDOWN, KMOD_PRIMARY # define navigateBack_KeyShortcut SDLK_LEFT, KMOD_ALT # define navigateForward_KeyShortcut SDLK_RIGHT, KMOD_ALT +# define byWord_KeyModifier KMOD_CTRL +# define byLine_KeyModifier 0 #endif -- cgit v1.2.3