diff --git a/emacs/+org.el b/emacs/+org.el index da22b58..d9bb000 100644 --- a/emacs/+org.el +++ b/emacs/+org.el @@ -102,3 +102,4 @@ If it is an absolute path return `+org-capture-work-todo-file' verbatim." (load! "org/+babel-diff") +(load! "org/+roam-daily") diff --git a/emacs/org/+roam-daily.el b/emacs/org/+roam-daily.el new file mode 100644 index 0000000..1fe02bc --- /dev/null +++ b/emacs/org/+roam-daily.el @@ -0,0 +1,10 @@ +;;; +roam-daily.el -*- lexical-binding: t; -*- +(setq org-roam-dailies-capture-templates + '(("l" "Log" entry "* %T %?" + :target (file+head+olp "%<%Y-%m-%d>.org" + "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B:>\n" + ("Log"))) + ("g" "Goal" entry "* TODO %? :mit:" + :target (file+head+olp "%<%Y-%m-%d>.org" + "#+title: %<%Y-%m-%d>\n#+filetags: %<:%Y:%B:>\n" + ("Goals")))))