Added a daily reflection template to org-roam

This commit is contained in:
Random936 2024-02-21 16:23:37 -08:00
parent 645b1488c2
commit 2bda343355

View File

@ -237,7 +237,7 @@ Below is the main config for org-roam.
("C-c n o" . org-id-get-create) ("C-c n o" . org-id-get-create)
;; Dailies ;; Dailies
("C-c n j" . org-roam-dailies-capture-today) ("C-c n t" . org-roam-dailies-capture-today)
("C-c n k" . org-roam-dailies-capture-tomorrow)) ("C-c n k" . org-roam-dailies-capture-tomorrow))
:config :config
;; Config for org-roam capture templates. ;; Config for org-roam capture templates.
@ -252,9 +252,13 @@ Below is the main config for org-roam.
"#+title: ${title}\n") "#+title: ${title}\n")
:unnarrowed t))) :unnarrowed t)))
(setq org-roam-dailies-capture-templates (setq org-roam-dailies-capture-templates
`(("d" "Default" entry "* %?" :target `(("d" "Default" entry "* %?"
(file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n")) :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n"))
("t" "Daily Todos" entry ("r" "Reflection" entry
(file ,(expand-file-name "reflection.org" jm/org-roam-templates-directory))
:target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n")
:unnarrowed t)
("t" "Todos" entry
(file ,(expand-file-name "daily.org" jm/org-roam-templates-directory)) (file ,(expand-file-name "daily.org" jm/org-roam-templates-directory))
:target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n") :target (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n")
:unnarrowed t))) :unnarrowed t)))