Skip to content

feat: allow more than two templates to be triggered via keyboard shortcuts (#122)#127

Open
imshubham22apr-gif wants to merge 1 commit intojoplin:masterfrom
imshubham22apr-gif:feature/keyboard-shortcuts-for-templates
Open

feat: allow more than two templates to be triggered via keyboard shortcuts (#122)#127
imshubham22apr-gif wants to merge 1 commit intojoplin:masterfrom
imshubham22apr-gif:feature/keyboard-shortcuts-for-templates

Conversation

@imshubham22apr-gif
Copy link
Copy Markdown

@imshubham22apr-gif imshubham22apr-gif commented Feb 20, 2026

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 #122

…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
@imshubham22apr-gif imshubham22apr-gif changed the title feat: allow more than two templates to be triggered via keyboard shor… feat: allow more than two templates to be triggered via keyboard shortcuts (#122) Feb 23, 2026
Copy link
Copy Markdown
Collaborator

@alondmnt alondmnt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to trigger more than just two templates using keyboard shortcuts

2 participants