]> git.rmz.io Git - dotfiles.git/commitdiff
bin: set diary command to open orgmode journal file
authorSamir Benmendil <me@rmz.io>
Sat, 8 Aug 2020 12:17:59 +0000 (13:17 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 8 Aug 2020 12:17:59 +0000 (13:17 +0100)
bin/diary

index d65447be85077fd29f06108fc91a36394fde2073..48d5a5df0e9dde0feef31f91edb3a6c18b71733c 100755 (executable)
--- a/bin/diary
+++ b/bin/diary
@@ -1,7 +1,6 @@
 #!/usr/bin/env bash
 
-vim \
-    -c "call vimwiki#diary#make_note(v:count1)" \
+vim ~/org/journal.org \
     + \
-    -c 'r !date +"\%n== \%H:\%M ==\%n* "' \
+    -c 'r !date +"\%n**** [\%F \%a \%H:\%M] - "' \
     -c "start!"