feat: allow more than two templates to be triggered via keyboard shortcuts (#122)#127
Open
imshubham22apr-gif wants to merge 1 commit intojoplin:masterfrom
Conversation
…tcuts (joplin#122) Users can now configure up to 10 custom keyboard shortcuts for specific templates via Settings > Templates > 'Template keyboard shortcuts (JSON)'. Each entry in the JSON array specifies: - templateId: the Joplin note ID of the template - action: 'newNote', 'newTodo', or 'insertText' - label: human-readable label shown in the menu - accelerator: keyboard shortcut string (e.g. 'Ctrl+Alt+1'), or empty Configured shortcuts appear as a 'Template shortcuts' submenu under the Templates menu. A dedicated Joplin command is registered for each entry (templateShortcut_1 through templateShortcut_10), so shortcuts can also be customised further via Joplin's built-in keyboard shortcut editor. Closes joplin#122
alondmnt
reviewed
Mar 12, 2026
Collaborator
alondmnt
left a comment
There was a problem hiding this comment.
Thanks for the PR @imshubham22apr-gif. The feature addresses a real need, but I'm not sure about the JSON config approach, it requires users to hand-write JSON with note IDs, which is error-prone and hard to discover. I've posted an alternative design on #122 that I think would work better. Closing this in favour of that approach.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users can now configure up to 10 custom keyboard shortcuts for specific templates via Settings > Templates > 'Template keyboard shortcuts (JSON)'.
Each entry in the JSON array specifies:
Configured shortcuts appear as a 'Template shortcuts' submenu under the Templates menu. A dedicated Joplin command is registered for each entry (templateShortcut_1 through templateShortcut_10), so shortcuts can also be customised further via Joplin's built-in keyboard shortcut editor.
Closes #122