diff --git a/config/org-mode.org b/config/org-mode.org index 07cae02..7403f3a 100644 --- a/config/org-mode.org +++ b/config/org-mode.org @@ -85,7 +85,14 @@ For reference information, see [[https://orgmode.com][Org-mode website]] (no-delete-other-windows . t))))) (org-roam-db-autosync-mode +1)) #+end_src - +** Capture templates +#+begin_src emacs-lisp + (with-eval-after-load 'org-roam + (setq org-roam-capture-templates + '(("d" "default" plain "%?" + :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") + :unnarrowed t)))) +#+end_src * org-agenda #+begin_src emacs-lisp :results output silent (setq org-agenda-span 'week