obsidian-toggle-list icon indicating copy to clipboard operation
obsidian-toggle-list copied to clipboard

Bug: hotkeys for binded state group commands don't work after renaming the command.

Open YousufSSyed opened this issue 1 year ago • 7 comments

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?

YousufSSyed avatar Apr 18 '23 19:04 YousufSSyed