RickStrahl / SaveToAzureBlob-MarkdownMonster-Addin

Markdown Monster Addin to open or paste images from your local machine and save them in Azure Blob Storage and embed link into your post.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to launch SaveToAzureBlob with a shortcut key?

MikeBlueberry opened this issue · comments

Hi Rick, how do I add a shortcut key for SaveToAzureBlob?

The addin is installed, shows up on the menu bar on top (cloud icon with arrow up) and it works fine, it saves the images to my Azure Storage and pastes it on the markdown editor. I just don't know how to assign a shortcut to it.

I think this can be done in MarkdownMonster-KeyBindings.json but I don't know what is the ID and CommandName to assign there. By the way, I tried editing and saving, but it doesn't save, when I open MM it resets that json file.

Assign shortcut to Addin

Thanks,
MB

There is no facility for this. Because it's an add-in it's not going through the regular keyboard manager so it doesn't have a pre-configured entry.

THe only way this can work is with a hardcoded keyboard combination which isn't ideal.

Ok so two fixes related to this:

  • The addin list is now keyboard accessible via alt-t-i
  • The Azure Blob addin now has a keyboard mnemonic (b) for alt-t-i-b shortcut
  • Added a (non-changeable) shortcut to the Addin (shift-alt-b)

90a75cc