Reset list with checkmarks using button

Here is a simple trick I made that could interest other people. I have a list of equipment to take with me when going outdoor. It’s basically a list of checkboxes. But it’s was a bit annoying to uncheck everything manually each time I was doing an outdoor activity.

To automatically reset boxes, I made a button using the Meta Bind plugin and some regular expressions. Here is the button template:

style: destructive
label: Reset boxes
action:
  type: regexpReplaceInNote
  regexp: "- \\[x\\]"
  regexpFlags: gm
  replacement: "- [ ]"
2 Likes

But you can just select all the list and toggle by hotkey?

Which hotkey would you use?

They probably mean the Toggle checkbox status command (assigned cmd/ctrl + L by default).

CleanShot 2025-08-08 at 20.15.03

Oh cool! I didn’t knew this command. I guess I’ve just reinvented the wheel with my button, but I like it. Thanks anyway!

Except the Toggle checkbox status hotkey only works when you are in editing mode, not when you are toggled over into reading mode. I used Meta Bind plus the Checklist Reset plugin to put together a button that activates the command it adds and with a single click, while still in reading mode, it clears the list without needing to switch modes, highlight text, or perform a series of keystrokes. One click and the list is reset.

1 Like