obsidian-toggle-list
obsidian-toggle-list copied to clipboard
Bug: hotkeys for binded state group commands don't work after renaming the command.
Let's say I have a state group command binding with a certain name, assign a hotkey to the binding with that name. If I change then name, then the hotkey no longer works unless I change it back. I noticed in the hotkeys.json
file, you give command names to Obsidian, whatever names I write down in the plugin settings.
What if in your code, you generated IDs for each state group binding, and used those in the command names internally, so that if a binding is renamed, the hotkey still works?