hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-03 08:44:46 +0200
committerhachem <im@hachem.wtf>2026-10-03 08:44:46 +0200
commit908e6d88f32c6eb1855d13156fad301c402a1798 (patch)
tree33c6e459c466052cf235a227720dddab86abd749 /README.md
parent7fe8c5ed9d741a58118f145a5d5ed14e533b9d39 (diff)
feat: more qol after using it for a couple days
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 16 insertions, 6 deletions
diff --git a/README.md b/README.md
index dc83cca..dced413 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,8 @@ a little modal todo list that lives in my terminal.
```text
= movement
- h j k l move (h/l caret in the item, j/k between items)
+ h j k l move (h/l caret in the item, j/k by display line)
+ 0 / $ start / end of the item
w / b next / previous word
{ / } previous / next section
gg / G top / bottom
@@ -17,19 +18,25 @@ a little modal todo list that lives in my terminal.
i insert at the cursor
A append to the item's text
R replace mode (overtype from the cursor)
- x toggle done
+ x delete the character under the cursor
+ cw ce cb change word (ce to end, cb back)
+ c0 c$ cc change to start / end of line, or the whole line
+ ct{c} cf{c} change up to (cf: onto) the next {c}
+ ci{d} ca{d} change inside / around a pair: () [] {} <> " '
space cycle todo -> doing -> done
- dd cut the item
+ dd cut the item (with its subtasks and notes)
D clear every done item
- yy p P yank, paste below, paste above
- J / K move the item down / up (on a heading, moves the whole section)
+ yy p P yank, paste below, paste above (a task carries its block)
+ J / K move the item down / up (a task carries its block; a heading, its section)
= other
- / n N search, next match, previous match
+ / n N search (highlights as you type, jumps to match), next, previous
+ esc clear the search highlight
u ctrl-r undo, redo
:w :q :wq :x write, quit, write and quit
:reset set every item back to todo
:clear remove every item
+ :reorder re-sort / regroup the list
```
## items
@@ -39,6 +46,7 @@ a little modal todo list that lives in my terminal.
== phase one a subsection -> i. phase one
- write the docs a subtask
* maybe later an optional task -> ( )
+> extra detail a note on the task above
buy milk a plain task
```
@@ -57,6 +65,8 @@ it's one file, so if you don't want the makefile:
$ cc -O2 todo.c -o todo
```
+tweak the layout, wrap column and highlight colour in [config.h](config.h).
+
## license
`todo` is licensed under the mit license. see [license](LICENSE) for more.