From 71b3e75c22692cab6ae020d1a7192480d80d9a51 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 30 Aug 2023 17:02:56 +0200 Subject: [PATCH] Change the default filename for Org Roam nodes --- configuration.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configuration.org b/configuration.org index 4ee9801..4ee2c40 100644 --- a/configuration.org +++ b/configuration.org @@ -1309,6 +1309,11 @@ Let’s see if i can get my brain more organised this way… (org-roam-directory (file-truename (expand-file-name "roam" org-directory))) (org-roam-dailies-directory (file-truename (expand-file-name "roam/journal" org-directory))) (org-roam-completion-everywhere t) + (org-roam-capture-templates '(("d" "default" plain "\n%?" + :target (file+head + "${slug}-%<%Y%m%d%H%M%S>.org" + "#+title: ${title}") + :unnarrowed t))) (org-roam-dailies-capture-templates '( ("d" "default" entry "* %<%H:%M>: %?" :if-new (file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>\n"))))