task -work
report showing everything but work tasks
I ended up with a mess after half a year trying to use every feature of Taskwarrior. It’s time to focus on building solid knowledge one step at a time.
I sat on this draft for a couple weeks. Rather than change task dates to make it look like I wrote this yesterday, I’ll leave task
output as-is. Otherwise I’ll have to change those details every time I revisit Taskwarrior on the blog.
What Is Taskwarrior?
Taskwarrior helps you manage tasks and ideas from the command line. It provides a convenient interface, assuming your idea of convenient is a rich collection of commands you can enter, customize, and pipe to other utilities.
[!NOTE] What’s wrong with Org mode? Nothing at all! Org provides similar functionality and more for GNU Emacs users. Taskwarrior focuses narrowly on task management and reporting, while Org is also a time tracker, note-taking tool, markup language for publishing, and more.
Taskwarrior works better than Org mode for people that don’t live in Emacs. Wait. Vim-OrgMode exists. I should be more general: Taskwarrior works better for people that don’t live in their editor.
Ultimately it comes down to personal taste.I enjoy using Taskwarrior today.
Starting from scratch
I archived my confused earlier attempts at usage. Here I am with a fresh slate.
When you don’t tell task
what you want, it assumes by default that you want to see your next
report. You can customize many aspects of Taskwarrior, but for my own understanding I will not look at customization today.
The Tutorial, Summarized
Let’s review the 30-Second Tutorial.
add
- creates a new task
done
- marks a task as complete
delete
- marks a task as deleted
next
- show a report listing tasks in decreasing order of Urgency
Taskwarrior calculates Urgency based on multiple factors, including your own priority:
ranking. I plan to ignore Urgency and priority
until life no longer seems sorted into “it’s on fire” and “it’s just an idea.”
I’ll add a few tasks.
I added that last one about the crochet hook to convince myself to get off my tush and go get that hook from my friendly Local Yarn Store. Give me a minute.
Okay, done.
What about delete
? Say I want to see a movie this weekend.
Turns out it’s not in theaters anymore. I need to pay closer attention to these things.
delete
lets you abandon a task.
Those are the core Taskwarrior commands. It’s enough to make and manage a useful task list.
A few more “core” commands
I consider a few more features core to my own Taskwarrior experience.
- editing a task
- recording a completed task that I never added
- reporting my completed tasks
modify
I see a typo in my task descriptions. modify
helps there.
log
and completed
I don’t just track things I want to do. I track things I did. I feel better on days when I barely dent my next
list but can point to other accomplishments.
The completed
report shows my completed tasks, including those I logged and those marked done
.
Taskwarrior tells you all sorts of interesting things about your tasks with a wealth of reports] Explore them!
Projects
It can be demoralizing to have one huge task that just sits there forever, even though you work on it and make progress. A good way to keep yourself motivated is to split it into smaller subtasks. Taskwarrior does that with projects.
Let’s go with a knit vest that I have almost finished.
Hey look a column for Urgency
. Ignoring that.
Knitting the vest itself is still the largest task, but at least I have some additional information about the other tasks involved in the project.
What does my task list look like now?
NOTE
For the curious: “finishing” a knit project is a distinct step that involves sewing in the loose ends.
Tags
Taskwarrior lets us add text tags to describe aspects of the task that may be useful beyond its description or project.
Indicate a tag by prefixing it with +
.
The next
report includes a new column for tags now.
Oh look. Assigning a tag gave an Urgency
to task the +crochet
task. Still ignoring it.
I added little information putting +crochet
on a task that I already described with “crochet,” but tags make convenient filters for Taskwarrrior commands and reports.
Filters
Filters let you work with a defined set of tasks.
What if the tasks aren’t right next to each other? No problem.
How have these modifications changed my next
report?
Filters work on reports, too.
What if I filter to a single ID without a command?
I get a lot of stuff I’m not ready for yet. I’ll come back to this some other day.
Filters don’t have to be task IDs. Use plain text to filter based on task description.
Prefix with +
for a tag filter.
Prefix with -
to show tasks that do not have a particular tag.
Prefix with project:
to list tasks associated with a particular project.
Org mode lets you write quick notes about a task. Can Taskwarrior do that?
Of course it can!
Annotations
Annotations let you add a one line note to a task.
Taskwarrior presents these annotations with their tasks in reports.
Notice how a task’s Urgency automatically increases as we add more information to it? I know — I’m still ignoring it, but it does make it convenient that the tasks I spend more time on in Taskwarrior get pushed to the top.
Anyways I’m done knitting the vest.
denotate
A couple days after posting this article I made an annotation on the wrong task.
That’s when I learned about the
denotate
command, which removes a matching annotation from a task.Good to know!
Oops
Let’s go shopping!
Sometimes I need to remove a tag, or remove a task from a project.
Prefixing the tag with -
in a modify
command removes that tag.
home
isn’t a project — at least not in this context. Assigning an empty project removes a task’s project connection.
Summary
Here’s what I have so far for my task list, without work
stuff because you don’t need to know about that.
That’s enough for now. I feel comfortable using Taskwarrior to manage and describe my tasks. Next time I write about Taskwarrior I might choose to focus on tiny pieces so I can post more often.
Oh hush, you. I’ll get to Urgency
when I feel like it.
Added to vault 2024-01-15. Updated on 2024-02-01