PlainNotes icon indicating copy to clipboard operation
PlainNotes copied to clipboard

How to do the X in a checkbox?

Open katerlouis opened this issue 6 years ago • 4 comments

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?

katerlouis avatar Jan 21 '19 07:01 katerlouis

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 avatar Feb 15 '19 20:02 M4he

@M4he Is there a list with all available commands?

katerlouis avatar Feb 26 '19 09:02 katerlouis

image It doesn't work when indented / part of a ATTENTION block for instance. Any ideas why that is? It just triggers the usual shortcut.

katerlouis avatar Feb 26 '19 09:02 katerlouis

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?

katerlouis avatar Feb 26 '19 09:02 katerlouis