Skip to content

Commit

Permalink
Change shortcut to open QuickInput
Browse files Browse the repository at this point in the history
  • Loading branch information
gzdunek committed Mar 18, 2022
1 parent db5f2b1 commit 57d6983
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type KeyboardShortcutType =
| 'tab-new'
| 'tab-previous'
| 'tab-next'
| 'focus-global-search'
| 'open-quick-input'
| 'toggle-connections'
| 'toggle-clusters'
| 'toggle-identity';
Expand All @@ -44,7 +44,7 @@ export const keyboardShortcutsConfigProvider: ConfigServiceProvider<KeyboardShor
'tab-new': 'Command-T',
'tab-previous': 'Control-Shift-Tab',
'tab-next': 'Control-Tab',
'focus-global-search': 'F1',
'open-quick-input': 'Command-K',
'toggle-connections': 'Command-O',
'toggle-clusters': 'Command-E',
'toggle-identity': 'Command-I',
Expand All @@ -64,7 +64,7 @@ export const keyboardShortcutsConfigProvider: ConfigServiceProvider<KeyboardShor
'tab-new': 'Ctrl-Shift-T',
'tab-previous': 'Ctrl-PageUp',
'tab-next': 'Ctrl-PageDown',
'focus-global-search': 'F1',
'open-quick-input': 'Ctrl-K',
'toggle-connections': 'Ctrl-O',
'toggle-clusters': 'Ctrl-E',
'toggle-identity': 'Ctrl-I',
Expand Down
2 changes: 1 addition & 1 deletion web/packages/teleterm/src/ui/QuickInput/useQuickInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function useQuickInput() {
};

useKeyboardShortcuts({
'focus-global-search': () => {
'open-quick-input': () => {
quickInputService.show();
},
});
Expand Down

0 comments on commit 57d6983

Please sign in to comment.