summaryrefslogtreecommitdiff
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
parent42371f6275502f0244ccfd5be1a8efc88095c87c (diff)
downloadrcm-1f796d5cb6e1696b9c993f038933d4a70b46b989.tar.gz
rcm-1f796d5cb6e1696b9c993f038933d4a70b46b989.tar.bz2
rcm-1f796d5cb6e1696b9c993f038933d4a70b46b989.zip
Bin: update to vis
Diffstat (limited to '')
-rwxr-xr-xlocal/bin/capture2
-rwxr-xr-xlocal/bin/log2
-rwxr-xr-xlocal/bin/todo2
3 files changed, 3 insertions, 3 deletions
diff --git a/local/bin/capture b/local/bin/capture
index f8824cd..c4cd844 100755
--- a/local/bin/capture
+++ b/local/bin/capture
@@ -5,7 +5,7 @@ CAPTURE_FILE="/tmp/capture-$DATE"
echo $DATE
JRNL="$STITCH_DIRECTORY/$DATE.org"
echo '* ' > $CAPTURE_FILE
-kak $CAPTURE_FILE +1:3 -e "execute-keys i"
+$EDITOR $CAPTURE_FILE +1
if grep -q '^\*\s*$' $CAPTURE_FILE
then
echo "Empty capture; ignoring"
diff --git a/local/bin/log b/local/bin/log
index f46893c..50ddae5 100755
--- a/local/bin/log
+++ b/local/bin/log
@@ -2,7 +2,7 @@
JRNL="$STITCH_DIRECTORY/$(date +'%y-%m-%d.%H:%M.%S').org"
echo '* :journal:' > /tmp/capture
-kak /tmp/capture +1:3 -e "execute-keys i"
+$EDITOR /tmp/capture
if grep -q '^\*\s*:journal:' /tmp/capture
then
echo "Empty capture; ignoring"
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"