Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do the X in a checkbox? #71

Open
katerlouis opened this issue Jan 21, 2019 · 4 comments
Open

How to do the X in a checkbox? #71

katerlouis opened this issue Jan 21, 2019 · 4 comments

Comments

@katerlouis
Copy link

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?

@M4he
Copy link

M4he commented Feb 15, 2019

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)

@katerlouis
Copy link
Author

@M4he Is there a list with all available commands?

@katerlouis
Copy link
Author

katerlouis commented Feb 26, 2019

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 katerlouis reopened this Feb 26, 2019
@katerlouis
Copy link
Author

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?

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

No branches or pull requests

2 participants