Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Changed MacOS hotkey for GoToHome view. #7631

Merged
merged 1 commit into from
Jan 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/KeyBindingsDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ const navigationBindings = (): KeyBinding<NavigationAction>[] => {
action: NavigationAction.GoToHome,
keyCombo: {
key: Key.H,
ctrlKey: true,
ctrlOrCmd: true,
altKey: !isMac,
shiftKey: isMac,
},
Expand Down
3 changes: 2 additions & 1 deletion src/accessibility/KeyboardShortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down