SilverBullet counts every - [ ] item as a task. Shopping lists and small steps then fill up your task queries. This keeps plain checkboxes as checklists and only treats items with a named state, such as [TODO], as tasks.

It works best together with Task Status Markers, which adds the named states.

Setup

  1. Open your CONFIG page, or any page you keep code on.
  2. Add a space-lua code block (three backticks followed by space-lua) and paste this code inside it:
-- index.tasks() without plain checklist items ([ ] and [x])
function gtdTasks()
  return query[
    from t = index.tasks()
    where t.state ~= " " and t.state ~= "x" and t.state ~= "X"
  ](<
    from t = index.tasks()
    where t.state ~= " " and t.state ~= "x" and t.state ~= "X"
  >)
end
  1. Run the command System: Reload.
  2. In each task query you already have, change index.tasks() to gtdTasks().

Use

  • Write real tasks with a state: - [TODO] Book the flights.
  • Write checklists with plain boxes: - [ ] Milk. They still tick on and off, but stay out of task queries.
  • A query that uses it looks like this:
${query[
  from t = gtdTasks()
  where t.state == "TODO"
  select templates.taskItem(t)
](<
  from t = gtdTasks()
  where t.state == "TODO"
  select templates.taskItem(t)
>)}