It would be super helpful to have a shortcut for to do item: "- [ ] "
Have you ever used or looked at powertoys from Microsoft?
It has the ability to manage and create keyboard shortcuts and it might be able to do exactly what you're looking for.
Another keyboard mapping or remapping utility that is excellent is called autohotkey. You can get it to do pretty much anything.
Thanks for your answer.
Yeah I know those tools. But this is a workaround. For really complex actions, this would make sense. But having a shortcut for a todo list item in Joplin is a core feature imo.
Like there are shortcuts for ordered and unordered list items as well.
You can add a shortcut for all of Joplins commands that you can find under Menu bar > Tools > Command palette...
In your case you want to add a shortcut for the command Checkbox (textCheckbox). The string in the parenthesis is the identifier that you need.
Now that we know the identifier we can add a shortcut for the command to Joplin:
Open the file keymap-desktop.json in the Joplin config directory and add a shortcut to the JSON inside:
[
{ ... },
{
"command": "textCheckbox",
"accelerator": "Ctrl+Shift+T"
}
]
After restarting Joplin you should now be able to add and remove todo items with the shortcut CTRL + Shift + T
If you want another shortcut for a bullet list you can do it analogously:
[
{ ... },
{
"command": "textBulletedList",
"accelerator": "Ctrl+-"
}
]
Hell yeah
Thats amazing and extremely helpful!! I did not know this is possible. Thanks for the tip!
I will definetly make use of it.
Just for reference: You can hightlight/mark text analogously to my last answer regarding checkmarks/todos:
[
{ ... },
{
"command": "textMark",
"accelerator": "Ctrl+Shift+H"
}
]
More commands
- Attach Image (already there)
- Links
- Italic
- Bold
- Table
- Code
| Function | Command |
|---|---|
| Attach Image | attachFile |
| Links | textLink |
| Italic | textItalic |
| Bold | textBold |
| Table | richTables.insertTable (requires Rich Tables plugin) |
| Code | textCode |