I’m comparing the “hotkeys” section of the Obsidian preferences to the json file at .obsidian/hotkeys.json
The two disagree. I expected them to be mirrors of each other, or at least consistent.
What I’m trying to do
Sometimes I want to find out what a hotkey is bound to and Obsidian does not make that possible without scrolling the whole list, which is tedious and error-prone and not automatable. For example, it’s very difficult to find what e.g. opt-ctl-B is bound to using the GUI. So instead, I tried grepping through .obsidian/hotkeys.json.
However, this does not have an accurate view compared to the GUI.
Here is a screenshot of an example. My hotkeys.json file seems to think that mod-shift-P means “templater-obsidian:Templates/Personal Meeting Template.md”, but the GUI disagrees.
Interesting, maybe all this is just because of Templater, thanks. I’ll pursue that in the Templater issues discussion area on github. It would not be good news for me if I have to look in multiple spots for hotkeys… thanks for the feedback.
I have a solution as given by you yourself here: DataviewJS Snippet Showcase - #269 by holroy There is nothing more to say on this subject other than a very small typo I found in your sorting code in the first block (.id → .name). Thanks for the incredibly useful help!