From 7f832819c4bc46f2f56531dc5c4ca41d0bdbff02 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 6 May 2020 00:23:23 +0200 Subject: [PATCH] Add org-roam-dailies capture template Customizes the folder where to store dailies --- config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.org b/config.org index ce8bbe4..d167155 100644 --- a/config.org +++ b/config.org @@ -286,6 +286,18 @@ Customize the capture templates: :unnarrowed t)))) #+END_SRC +Also setup daily captures templates: + +#+BEGIN_SRC emacs-lisp +(after! org-roam + (setq org-roam-dailies-capture-templates + '(("d" "daily" plain (function org-roam-capture--get-point) + "" + :immediate-finish t + :file-name "journal/%<%Y-%m-%d>" + :head "#+TITLE: %<%Y-%m-%d>")))) +#+END_SRC + ** Doom specific Doom replaces the default tab behavior on headings, this restores the default