PlainNotes
PlainNotes copied to clipboard
How to do the X in a checkbox?
CMD+Enter makes a lil checkbox, which can be checked with tick via CMD+D. Cool! But how do I do the X mark from your screenshot in the readme?
Should be CTRL+C in the default config.
You can change it via Preferences > Package Settings > PlainNotes > Key Bindings - User and inserting a corresponding section (see ... > Key Bindings - Default for reference), e.g.
{ "keys": ["super+n"], "command": "note_todo_cancel", "context":
[{ "key": "selector", "operator": "equal", "operand": "markup.list.unnumbered.todo.markdown" }]
},
(the above example changes it to CMD+N)
@M4he Is there a list with all available commands?
It doesn't work when indented / part of a ATTENTION block for instance. Any ideas why that is? It just triggers the usual shortcut.
I changed the operand / scope from markup.list.unnumbered.todo.markdown
to meta.paragraph.list.markdown
and now it works.
What is odd, though, is that note_todo_done
can overwrite the cancel-state, but note_todo_cancel
cannot overwrite the done state. Why is that?