From 135669a603a7fe48fd3cf54a5457650b4655d320 Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Wed, 7 Feb 2024 14:12:53 +0100 Subject: [PATCH] more fixes and some cleanup --- config.org | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/config.org b/config.org index a6c4e78..5108c2e 100644 --- a/config.org +++ b/config.org @@ -1479,6 +1479,27 @@ If nil it defaults to `split-string-default-separators', normally (org-roam-db-autosync-mode) ;; build the agenda list the first ime for the session (my/org-roam-refresh-agenda-list) + + (when *work_remote* + (setq org-roam-capture-templates + '(("n" "note" plain + "%?" + :if-new (file+head "notes/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") + :unnarrowed t) + ("i" "idea" plain + "%?" + :if-new (file+head "ideas/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") + :unnarrowed t) + ("p" "project" plain + "%?" + :target (file+head "projects/${slug}.org" "#+title: ${title}\n#+filetags: :project:\n") + :unnarrowed t) + ("s" "Sicherheitenmeldung" plain + "*** TODO [#A] Sicherheitenmeldung ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" + :target (file+olp "tasks.org" ("Todos" "Sicherheitenmeldungen"))) + ("m" "Monatsbericht" plain + "*** TODO [#A] Monatsbericht ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" + :target (file+olp "tasks.org" ("Todos" "Monatsberichte")))))) :custom (org-roam-database-connector 'sqlite-builtin) (org-roam-directory MY--PATH_ORG_ROAM) @@ -1493,26 +1514,6 @@ If nil it defaults to `split-string-default-separators', normally :if-new (file+head "ideas/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n") :unnarrowed t) )) - (when *work_remote* - (org-roam-capture-templates - '(("ß""telephone call" plain - "*** [%<%Y-%m-%d %H:%M>] ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n" - :target (file+olp "p:/Eigene Dateien/Notizen/phone_calls.org" - ("2023" "11"))) - ("x" "telephone call" plain - "%?" - :target (file+head "telephone/%<%Y%m%d%H%M>-${slug}.org" "#+title: CALL %<%Y-%m-%d %H:%M> ${title}\n") - :unnarrowed t) - ("p" "project" plain - "%?" - :target (file+head "projects/${slug}.org" "#+title: ${title}\n#+filetags: :project:\n") - :unnarrowed t) - ("s" "Sicherheitenmeldung" plain - "*** TODO [#A] Sicherheitenmeldung ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" - :target (file+olp "tasks.org" ("Todos" "Sicherheitenmeldungen"))) - ("m" "Monatsbericht" plain - "*** TODO [#A] Monatsbericht ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" - :target (file+olp "tasks.org" ("Todos" "Monatsberichte")))))) :bind (("C-c n l" . org-roam-buffer-toggle) ("C-c n f" . org-roam-node-find) ("C-c n i" . org-roam-node-insert)