Steps to reproduce
I played around with remapping menubar shortcuts inside. macOS system shortcuts, in my example for Undo and Redo (e.g., Undo remapped to Command + Y and Redo to Command + Shift + Y), and found out about the confusing way Obsidian manages macOS integration when it comes to keyboard shortcuts.
- The remapped shortcut for Undo (e.g., Command + Y) works, but the default Command + Z shortcut also continues to function. interesting that in the hotkeys settings there is no option to set undo and redo shortcuts but you can see that they’re built-in, not relying on mac settings.
- The remapped shortcut for Redo (e.g., Command + Shift + Y) does not work at all, probably because Obsidian in some way relies on its built-in shortcuts that aren’t exposed. I’ve searched in the Obsidian hotkeys and for other commands in the menu bar, The shortcut combination isn’t being shared by anything and I can see the redo command flashing in the menu bar when I activate it so that’s not the issue.
Proposed fixes:
- Expose Undo and Redo in Obsidian’s Hotkeys settings to allow full customization.
- I think the best way is to remove all built-in obsidian shortcuts if they have an alternative in the usual macOS menu bar commands like undo and redo.