Keyboard shortcut for pinning a draft

Is there a way to assign a keyboard shortcut for pinning a draft?

I think this would make my workflow of using a “scratchpad” draft a little easier.

you can create an Action with a script step that toggles the editor.pinningEnabled
then assign a keyboard shortcut to that action.

I built one that ca toggle all different modes of the editor: toggle editor modes | Drafts Directory

It was easy to modify it to only toggle the pinning mode: toggle pinning mode | Drafts Directory

1 Like

The advantage of the actions is you can use it cross-platform. But, if this is just for the Mac, it might be worth noting (just for completeness) you can create your own keyboard shortcuts for any menu item, and Drafts has the menu item “Editor > Pin Current Draft”.

2 Likes