From 20118afd1f51a329641c23aed1a3303feb0b02fd Mon Sep 17 00:00:00 2001 From: Clark Wang Date: Tue, 2 Mar 2021 16:57:40 +0800 Subject: [PATCH] fixes #3500: add hotkey support for Tabs 11~20 --- terminus-core/src/configDefaults.linux.yaml | 10 +++++ terminus-core/src/configDefaults.macos.yaml | 10 +++++ terminus-core/src/configDefaults.windows.yaml | 10 +++++ terminus-core/src/hotkeys.ts | 40 +++++++++++++++++++ 4 files changed, 70 insertions(+) diff --git a/terminus-core/src/configDefaults.linux.yaml b/terminus-core/src/configDefaults.linux.yaml index 16bc634f..3340d7db 100644 --- a/terminus-core/src/configDefaults.linux.yaml +++ b/terminus-core/src/configDefaults.linux.yaml @@ -42,6 +42,16 @@ hotkeys: - 'Alt-9' tab-10: - 'Alt-0' + tab-11: [] + tab-12: [] + tab-13: [] + tab-14: [] + tab-15: [] + tab-16: [] + tab-17: [] + tab-18: [] + tab-19: [] + tab-20: [] split-right: - 'Ctrl-Shift-E' split-bottom: diff --git a/terminus-core/src/configDefaults.macos.yaml b/terminus-core/src/configDefaults.macos.yaml index 52b1d532..446f9c17 100644 --- a/terminus-core/src/configDefaults.macos.yaml +++ b/terminus-core/src/configDefaults.macos.yaml @@ -40,6 +40,16 @@ hotkeys: - '⌘-9' tab-10: - '⌘-0' + tab-11: [] + tab-12: [] + tab-13: [] + tab-14: [] + tab-15: [] + tab-16: [] + tab-17: [] + tab-18: [] + tab-19: [] + tab-20: [] split-right: - '⌘-Shift-D' split-bottom: diff --git a/terminus-core/src/configDefaults.windows.yaml b/terminus-core/src/configDefaults.windows.yaml index 7d81c5c7..f2ab2a49 100644 --- a/terminus-core/src/configDefaults.windows.yaml +++ b/terminus-core/src/configDefaults.windows.yaml @@ -43,6 +43,16 @@ hotkeys: - 'Alt-9' tab-10: - 'Alt-0' + tab-11: [] + tab-12: [] + tab-13: [] + tab-14: [] + tab-15: [] + tab-16: [] + tab-17: [] + tab-18: [] + tab-19: [] + tab-20: [] split-right: - 'Ctrl-Shift-E' split-bottom: diff --git a/terminus-core/src/hotkeys.ts b/terminus-core/src/hotkeys.ts index 352abe05..e9510e8b 100644 --- a/terminus-core/src/hotkeys.ts +++ b/terminus-core/src/hotkeys.ts @@ -89,6 +89,46 @@ export class AppHotkeyProvider extends HotkeyProvider { id: 'tab-10', name: 'Tab 10', }, + { + id: 'tab-11', + name: 'Tab 11', + }, + { + id: 'tab-12', + name: 'Tab 12', + }, + { + id: 'tab-13', + name: 'Tab 13', + }, + { + id: 'tab-14', + name: 'Tab 14', + }, + { + id: 'tab-15', + name: 'Tab 15', + }, + { + id: 'tab-16', + name: 'Tab 16', + }, + { + id: 'tab-17', + name: 'Tab 17', + }, + { + id: 'tab-18', + name: 'Tab 18', + }, + { + id: 'tab-19', + name: 'Tab 19', + }, + { + id: 'tab-20', + name: 'Tab 20', + }, { id: 'split-right', name: 'Split to the right',