Skip to content

Instantly share code, notes, and snippets.

@benjiwheeler
Last active December 13, 2022 04:13
Show Gist options
  • Save benjiwheeler/867bbe27bc4bd071f309926c6240c9ab to your computer and use it in GitHub Desktop.
Save benjiwheeler/867bbe27bc4bd071f309926c6240c9ab to your computer and use it in GitHub Desktop.
Todoist filter code to show series of sections, designed to put most immediately actionable items first, and then to order roughly on priority. Mixes in a selection of future dates, with the assumption that there are fewer tasks due per day the farther you get into the future; the idea is to allow you to see and work on items which are not due y…
p1 & (@small | @morning) & !@evening & today, p2 & (@small | @morning) & !@evening & today, p3 & (@small| @morning) & !@evening & today, p1 & !@small & !@morning & !@evening & (today | !@date-specific & ((due after: +2 days & due before: +4 days) | (due after: +9 days & due before: +12 days) | (due after: +35 days & due before: +40 days) | (due after: +75 days & due before: +85 days))), p2 & !@small & !@morning & !@evening & (today | !@date-specific & ((due after: +9 days & due before: +12 days) | (due after: +35 days & due before: +40 days) | (due after: +75 days & due before: +85 days))), p3 & !@small & !@morning & !@evening & (today | !@date-specific & ((due after: +9 days & due before: +12 days) | (due after: +35 days & due before: +40 days) | (due after: +75 days & due before: +85 days))), overdue & @small, No priority & !@evening & today, @evening & today
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment