From 0f93e753779942da8846c56adbb9bacdb7695fe0 Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Fri, 3 Feb 2023 17:22:11 +0100 Subject: [PATCH] changed roam project template for work --- config.org | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index 13b2759..c102870 100644 --- a/config.org +++ b/config.org @@ -1281,9 +1281,14 @@ If nil it defaults to `split-string-default-separators', normally :if-new (file+head "telephone/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: CALL %<%Y-%m-%d %H:%M> ${title}\n") :unnarrowed t) t) (add-to-list 'org-roam-capture-templates - '("p" "new Project" plain - "** ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" - :target (file+olp "projects.org" ("Active"))) t) + '("p" "project" plain + "%?" + :if-new (file+head "projects/${plug}.org" "#+title: ${title}\n#+filetags: :project:\n") + :unnarrowed t) t) +; (add-to-list 'org-roam-capture-templates +; '("p" "new Project" plain +; "** ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" +; :target (file+olp "projects.org" ("Active"))) t) (add-to-list 'org-roam-capture-templates '("s" "Sicherheitenmeldung" plain "*** TODO [#A] Sicherheitenmeldung ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n"