You can add collapase / expand buttons next to the "delete macro" button, and there could be a plugin setting for if they're expanded or collapsed by default. This can be more convenient for editing macros if a user has lots of them. Same if a user could reorder the macros. I also opened this issue: Allow reordering of commands in macros.
A workaround to reorder them for now is by editing the data.json file in .obsidian/plugins/obsidian-better-command-palette/ located in the vault folder. If you do that then the hotkeys you assigned would get messed up, because Better Command Palette writes commands for macros as obsidian-better-command-palette-macro-1, 2, etc. When you assign hotkeys, you're assigned them to the nth macro in the list it Better Command Palette settings.
Note to dev (AlexBieg): If you want to implement this, What I think you could do (I don't know much about the Obsidian API) is assign an ID to each macro internally in data.json and name commands after the macro IDs or something, that way hotkeys for macros still work even after renaming and or reordering.
You can add collapase / expand buttons next to the "delete macro" button, and there could be a plugin setting for if they're expanded or collapsed by default. This can be more convenient for editing macros if a user has lots of them. Same if a user could reorder the macros. I also opened this issue: Allow reordering of commands in macros.
A workaround to reorder them for now is by editing the. If you do that then the hotkeys you assigned would get messed up, because Better Command Palette writes commands for macros asdata.json
file in.obsidian/plugins/obsidian-better-command-palette/
located in the vault folderobsidian-better-command-palette-macro-1
,2
, etc. When you assign hotkeys, you're assigned them to the nth macro in the list it Better Command Palette settings.Note to dev (AlexBieg): If you want to implement this, What I think you could do (I don't know much about the Obsidian API) is assign an ID to each macro internally in
data.json
and name commands after the macro IDs or something, that way hotkeys for macros still work even after renaming and or reordering.