[BUG] "Fold/unfold the list" hotkey defaults conflict with common Mac global hotkeys
evictor opened this issue · 1 comments
Describe the bug
The default hotkeys for Fold/unfold the list are ⌘↑ and ⌘↓, respectively. These conflict with global Mac hotkeys (i.e., known and relied on by any ordinary Mac user) for the rather common cursor positioning commands "move (cursor) to start" and "move to end," respectively. In effect, by installing this plugin, the default hotkeys cause common hotkeys to no longer function as expected in the Obsidian text editor, which is coincidentally where this plugin's hotkeys are useful.
To Reproduce
Steps to reproduce the behavior:
- Install the plugin on a Mac.
- Try to use ⌘↑ or ⌘↓ hotkeys in a large text to move the cursor around.
- No cursor movement occurs. (If you are in a list where this plugin is active, then the list may fold/unfold as a result of those hotkeys' usage.)
Expected behavior
The cursor moves according to Mac norms; no folding/unfolding of a list takes place.
Environment (please complete the following information):
- OS: Mac
Additional context
The simple and probably most advisable solution is just to change the default hotkeys to something less likely to conflict with extant norms. In particular, you could just use the same shortcuts as for Windows defaults (^↑ and ^↓; that is, Ctrl instead of Cmd) and conflicts would be avoided.