Org archive to top level heading in same file

Move tasks.org to tasks.org.gpg

Remove datetime prefix from org-roam default capture template, updated
existing files accordingly
This commit is contained in:
Evie Litherland-Smith 2024-06-22 12:37:41 +01:00
parent 10ed32d665
commit fa5e148f60

View file

@ -386,6 +386,7 @@
:custom :custom
(org-directory "~/Documents/org") (org-directory "~/Documents/org")
(org-default-notes-file (expand-file-name "notes.org" org-directory)) (org-default-notes-file (expand-file-name "notes.org" org-directory))
(org-archive-location "::* Archived Tasks")
(org-hide-emphasis-markers nil) (org-hide-emphasis-markers nil)
(org-pretty-entities t) (org-pretty-entities t)
(org-pretty-entities-include-sub-superscripts t) (org-pretty-entities-include-sub-superscripts t)
@ -483,10 +484,10 @@
:custom :custom
(org-capture-templates (org-capture-templates
'(("t" "Task") '(("t" "Task")
("tp" "Personal" entry (file+olp "tasks.org" "Personal" "Miscellaneous") ("tp" "Personal" entry (file+olp "tasks.org.gpg" "Personal" "Miscellaneous")
"* TODO [#B] %?" "* TODO [#B] %?"
:prepend t) :prepend t)
("tw" "Work" entry (file+olp "tasks.org" "Work" "Miscellaneous") ("tw" "Work" entry (file+olp "tasks.org.gpg" "Work" "Miscellaneous")
"* TODO [#B] %?" "* TODO [#B] %?"
:prepend t)))) :prepend t))))
@ -505,6 +506,9 @@
(org-roam-node-display-template (concat (org-roam-node-display-template (concat
"${title:*} " "${title:*} "
(propertize "${tags:24}" 'face 'org-tag))) (propertize "${tags:24}" 'face 'org-tag)))
(org-roam-capture-templates '(("d" "default" plain "%?"
:target (file+head "${slug}.org" "#+title: ${title}\n")
:unnarrowed t)))
:config :config
(mkdir org-roam-directory t) (mkdir org-roam-directory t)
(add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist