summaryrefslogtreecommitdiff
path: root/local/bin/todo
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-26 19:41:12 -0500
committerMarc Coquand <marc@mccd.space>2024-05-26 19:41:12 -0500
commit1f796d5cb6e1696b9c993f038933d4a70b46b989 (patch)
treec01960256c877f3b42d0083b143c2f1c467acf8d /local/bin/todo
parent42371f6275502f0244ccfd5be1a8efc88095c87c (diff)
downloadrcm-1f796d5cb6e1696b9c993f038933d4a70b46b989.tar.gz
rcm-1f796d5cb6e1696b9c993f038933d4a70b46b989.tar.bz2
rcm-1f796d5cb6e1696b9c993f038933d4a70b46b989.zip
Bin: update to vis
Diffstat (limited to 'local/bin/todo')
-rwxr-xr-xlocal/bin/todo2
1 files changed, 1 insertions, 1 deletions
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"