phibr0 / obsidian-open-with

MIT License
35 stars 3 forks source link

Generated command ID has spaces #13

Open huyz opened 1 year ago

huyz commented 1 year ago

For the mac app "CleanShot X", the generated command ID is open-with:open-file-with-cleanshot x Notice the space right before the x.

Unfortunately this means that I cannot create a shortcut with https://github.com/esm7/obsidian-vimrc-support#executing-obsidian-commands-with-obcommand because spaces aren't allowed.

Can spaces be converted to -? Thanks

luckman212 commented 1 year ago

Came here to ask/request the same thing 👍

huyz commented 1 year ago

The workaround is simply to rename the command to not have space, which is what I did