Changed MacOS hotkey for GoToHome view. (#7631)

This commit is contained in:
Ajeya Bhat 2022-01-26 14:22:55 +05:30 committed by GitHub
parent 2143845a3a
commit e53427fce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -373,7 +373,7 @@ const navigationBindings = (): KeyBinding<NavigationAction>[] => {
action: NavigationAction.GoToHome,
keyCombo: {
key: Key.H,
ctrlKey: true,
ctrlOrCmd: true,
altKey: !isMac,
shiftKey: isMac,
},

View file

@ -341,7 +341,8 @@ export const KEYBOARD_SHORTCUTS: { [setting: string]: ISetting } = {
"KeyBinding.goToHomeView": {
default: {
ctrlOrCmdKey: true,
altKey: true,
altKey: !isMac,
shiftKey: isMac,
key: Key.H,
},
displayName: _td("Go to Home View"),