The Agenda view support search using free-text as well as by tags and scheduling dates by using search expressions.
You can combine free-text and search expressions at the same time to create an advance search query.
All todos that fullfil the search expressions will be shown.
When searching for words you can type them as you would expect and the search result will show all todos which contain all words in the header and/or body text.
You can search for todos which have one or more tags assigned by using the
t.tag1 - Finds todos which have tag1 assigned
t.tag1 t.tag2 - Finds todos which have tag1 AND tag2 assigned.
The tag search will match on subsets, so if searching on
t.tag will match todos which have either tag1 or tag2 assigned.
Search based on scheduling dates
You can search for deadline, scheduled and closed dates.
s. - scheduled
d. - deadline
c. - closed
You can search either by using a date such as
2021-12-20 or by using time periods such as 5 days
5d, 1 week
1w or 2 months
A negative period means in the past, while a positive period means in the future.
You can also combine the date/period with a 'less than or equal'
le or a 'greater than or equal'
ge operator. If
le/geis omitted, the
le will be used by default when searching using periods and
eq when using dates.
So combining this together we can compose the following examples:
s.2022-03-22 - Find todos which are scheduled on exactly 2022-03-22.
c.le.2022-03-22 - Find todos which were closed on or before 2022-03-22.
d.ge.2022-03-22 - Find todos which have a deadline on or after 2022-03-22.
s.2d - Find todos which are scheduled between today and two days forward.
s.le.2d - Same as above as
le is default.
s.ge.2d - Find todos which are scheduled in two days or more.
s.le.-2d - Find todos which are scheduled between today and two days ago.
s.ge.-2d - Find todos which are scheduled two days ago or more.
d.le.-1w - Todos with deadline in the last week.
d.le.1w - Todos with deadline in the coming week.
d - day
w - week
m - month
y - year