From 1f796d5cb6e1696b9c993f038933d4a70b46b989 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 26 May 2024 19:41:12 -0500 Subject: Bin: update to vis --- local/bin/todo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'local/bin/todo') diff --git a/local/bin/todo b/local/bin/todo index 58299cd..247fc58 100755 --- a/local/bin/todo +++ b/local/bin/todo @@ -3,7 +3,7 @@ TODO_BASE='* TODO ' JRNL="$STITCH_DIRECTORY/$(date +'%y-%m-%d.%H:%M.%S').org" echo '* TODO ' > /tmp/capture -kak /tmp/capture +1:8 -e "execute-keys i" +$EDITOR /tmp/capture +1 if grep -q '^\* TODO\s*$' /tmp/capture then echo "Empty capture" -- cgit v1.2.3