-
Notifications
You must be signed in to change notification settings - Fork 1
Filtering your tasks
If you have a lot of tasks, you will soon realise that it can become difficult to navigate your way through them. There are two ways to tackle this. The first way, and the best way, is to do some of them ;)
The other way is to use a filter. You can either use a filter when you list your tasks (see Viewing your tasks) or you can apply a filter to all of your actions.
A filter is just a list of contexts, projects etc. that you want to use to restrict the number of tasks you can see. To create a filter, just use the FILTER or FI command followed by the restrictions. So for example, the following command:
FILTER @Computer
will restrict the displayed tasks to those with the @Computer context.
If you apply another term, both conditions must be met. So the following command:
FI @Home :pDecorating
will only display tasks with both the @Home context and belonging to the Decorating.
If you want to display tasks that have the @Home context or the Decorating project, you can use the OR keyword.
FI @Home or :pDecorating
If you want to exclude tasks, you can use the NOT keyword. So the following filter will only show tasks that don't have the @Work context.
FILTER not @Work
You can also use a filter with a list command. This will temporarily override any other filter you've set. So the following command:
LIST @Computer or network
will list all tasks with either the @Computer task or containing the word network in the description.
To clear the filter, just enter a blank filter. E.g.
FILTER