Browse Source

minor changes to org capture templates

master
Marc 1 year ago
parent
commit
601042dc17
1 changed files with 17 additions and 21 deletions
  1. 38
      config.org

38
config.org

@ -880,7 +880,8 @@ Necessary when updating roam agenda todos."
(my--org-agenda-files-set)
:config
:custom
(org-pretty-entities t)
(when *sys/linux*
(org-pretty-entities t))
(org-startup-truncated t)
(org-startup-align-all-tables t)
(org-src-fontify-natively t) ;; use syntax highlighting in code blocks
@ -1246,13 +1247,13 @@ If nil it defaults to `split-string-default-separators', normally
(org-roam-directory MY--PATH_ORG_ROAM)
(org-roam-completion-everywhere t)
(org-roam-capture-templates
'(("d" "default" plain
'(("n" "note" plain
"%?"
:if-new (file+head "notes/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: ${title}\n")
:if-new (file+head "notes/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:unnarrowed t)
("n" "ndefault" plain
("i" "idea" plain
"%?"
:if-new (file+head "ideas/%<%Y%m%d%H%M%S>-${plug}.org" "#+title: ${title}\n")
:if-new (file+head "ideas/%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:unnarrowed t)
))
:bind (("C-c n l" . org-roam-buffer-toggle)
@ -1266,15 +1267,17 @@ If nil it defaults to `split-string-default-separators', normally
:bind-keymap
("C-c n d" . org-roam-dailies-map))
(when *sys/windows*
(use-package emacsql-sqlite3
:ensure t
:init
(setq emacsql-sqlite3-binary "P:/Tools/sqlite/sqlite3.exe")
exec-path (append exec-path '("P:/Tools/sqlite")))
(use-package org-roam
:if (eq *sys/windows* t)
:requires emacsql-sqlite3
:init
(setq exec-path (append exec-path '("P:/Tools/sqlite")))
(use-package emacsql-sqlite3
:ensure t
:init
(setq emacsql-sqlite3-binary "P:/Tools/sqlite/sqlite3.exe"))
:config
:custom
(add-to-list 'org-roam-capture-templates
'("t" "telephone call" plain
"%?"
@ -1283,12 +1286,8 @@ If nil it defaults to `split-string-default-separators', normally
(add-to-list 'org-roam-capture-templates
'("p" "project" plain
"%?"
:if-new (file+head "projects/${plug}.org" "#+title: ${title}\n#+filetags: :project:\n")
:if-new (file+head "projects/${slug}.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"
@ -1297,10 +1296,7 @@ If nil it defaults to `split-string-default-separators', normally
'("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"))) t)
:custom
(org-roam-database-connector 'sqlite3))
(org-roam-database-connector 'sqlite3)))
#+END_SRC
*** TODO Verzeichnis außerhalb roam zum Archivieren (u.a. für erledigte Monatsmeldungen etc.)

Loading…
Cancel
Save