summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <matt.kosarek@canonical.com>2025-02-19 08:18:35 -0500
committerMatthew Kosarek <matt.kosarek@canonical.com>2025-02-19 08:18:35 -0500
commit61bac4cd2999d6af6378e613c07c336ca357a3ab (patch)
treed518b808eb799ae0bf6c49fd7bb178d0e9dc437d /lisp
parentb585732b84d9697716c84fd1bc224fe413290487 (diff)
org: include the previous day in the journal:HEADmaster
Diffstat (limited to 'lisp')
-rw-r--r--lisp/org-custom.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 6c6b7e4..fabe6b9 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -85,7 +85,8 @@
'(("d" "default" entry
"* %?"
:target (file+head "%<%Y-%m-%d>.org"
- "#+title: %<%Y-%m-%d> 📰 \n#+filetags: :dailies: \n\n* Tasks 🎯\n\n* Notes 📁\n\n"))))
+ "#+title: %<%Y-%m-%d> 📰 \n#+filetags: :dailies: \n\n[[file:%(format-time-string \"%Y-%m-%d\" (time-subtract (current-time) (days-to-time 1))).org][← Previous Day]]\n\n* Tasks 🎯\n\n* Notes 📁\n\n"))))
+
(setq org-roam-capture-templates
'(("d" "default" plain
"%?"