Browse Source

additional org roam templates couldn't be set in :custom, now :config

master
Marc Pohling 1 year ago
parent
commit
7270e6b95b
1 changed files with 4 additions and 4 deletions
  1. 8
      config.org

8
config.org

@ -682,7 +682,6 @@ Completion ui, replaces company.
(corfu-popupinfo-delay t) (corfu-popupinfo-delay t)
(corfu-auto t) (corfu-auto t)
(corfu-cycle t) (corfu-cycle t)
(corfu-auto-prefix 2)
(corfu-auto-delay 0.0) (corfu-auto-delay 0.0)
(corfu-preselect-first nil) (corfu-preselect-first nil)
:init :init
@ -1489,16 +1488,16 @@ If nil it defaults to `split-string-default-separators', normally
(use-package org-roam (use-package org-roam
:requires emacsql-sqlite3 :requires emacsql-sqlite3
:init :init
:custom
:config
(add-to-list 'org-roam-capture-templates (add-to-list 'org-roam-capture-templates
'("t" "telephone call" plain '("t" "telephone call" plain
"%?" "%?"
:if-new (file+head "telephone/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: CALL %<%Y-%m-%d %H:%M> ${title}\n")
:target (file+head "telephone/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: CALL %<%Y-%m-%d %H:%M> ${title}\n")
:unnarrowed t) t) :unnarrowed t) t)
(add-to-list 'org-roam-capture-templates (add-to-list 'org-roam-capture-templates
'("p" "project" plain '("p" "project" plain
"%?" "%?"
:if-new (file+head "projects/${slug}.org" "#+title: ${title}\n#+filetags: :project:\n")
:target (file+head "projects/${slug}.org" "#+title: ${title}\n#+filetags: :project:\n")
:unnarrowed t) t) :unnarrowed t) t)
(add-to-list 'org-roam-capture-templates (add-to-list 'org-roam-capture-templates
'("s" "Sicherheitenmeldung" plain '("s" "Sicherheitenmeldung" plain
@ -1508,6 +1507,7 @@ If nil it defaults to `split-string-default-separators', normally
'("m" "Monatsbericht" plain' '("m" "Monatsbericht" plain'
"*** TODO [#A] Monatsbericht ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n" "*** TODO [#A] Monatsbericht ${title}\n :PROPERTIES:\n :ID: %(org-id-uuid)\n:END:\n%u\n"
:target (file+olp "tasks.org" ("Todos" "Monatsberichte"))) t) :target (file+olp "tasks.org" ("Todos" "Monatsberichte"))) t)
:custom
(org-roam-database-connector 'sqlite3))) (org-roam-database-connector 'sqlite3)))
#+END_SRC #+END_SRC

Loading…
Cancel
Save