From ee82a6ff1846dfafc141b63f7cad754eeaa85a85 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Thu, 6 Sep 2018 22:43:36 +0200 Subject: [PATCH] Make ctrl+shift+tab previous_tab by default on macOS --- docs/index.rst | 2 +- kitty/config_data.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index a4c89a38f..e3e463c0a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -125,7 +125,7 @@ Action Shortcut New tab :sc:`new_tab` Close tab :sc:`close_tab` Next tab :sc:`next_tab` (also :kbd:`control+tab` on macOS) -Previous tab :sc:`previous_tab` +Previous tab :sc:`previous_tab` (also :kbd:`control+shift+tab` on macOS) Next layout :sc:`next_layout` Move tab forward :sc:`move_tab_forward` Move tab backward :sc:`move_tab_backward` diff --git a/kitty/config_data.py b/kitty/config_data.py index 8251430a9..8deac4dcf 100644 --- a/kitty/config_data.py +++ b/kitty/config_data.py @@ -875,6 +875,8 @@ g('shortcuts.tab') # {{{ if is_macos: k('next_tab', 'ctrl+tab', 'next_tab', _('Next tab')) k('next_tab', 'kitty_mod+right', 'next_tab', _('Next tab')) +if is_macos: + k('previous_tab', 'ctrl+shift+tab', 'previous_tab', _('Previous tab')) k('previous_tab', 'kitty_mod+left', 'previous_tab', _('Previous tab')) k('new_tab', 'kitty_mod+t', 'new_tab', _('New tab')) k('close_tab', 'kitty_mod+q', 'close_tab', _('Close tab'))