~kris/hacks

stask

ref: 547aed6eb1ec2b6e4df2ef13d18811a879d60cc9 stask/doc.c -rw-r--r-- 5.8 KiB
547aed6e — Kris Yotam 5 months ago
editor fallback: prefer nvim > vim > vi when $EDITOR is unset
60008278 — Kris Yotam 5 months ago
v0.2: add markdown document system for tasks

each task now gets a .md file in ~/.local/share/stask/docs/<list>/<id>.md
with yaml frontmatter (title, date, done). done/undo syncs to frontmatter.
edit opens $EDITOR, show prints doc to stdout. title syncs back to db on edit.
new commands: edit <id>, show <id>. delete/rm cleans up doc files.