summaryrefslogtreecommitdiff
path: root/local/bin/todo
diff options
context:
space:
mode:
Diffstat (limited to '')
-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"