Small org directory restructure

Move org default file to roam/inbox.org and adjust org-agenda-files
accordingly
This commit is contained in:
Evie Litherland-Smith 2024-12-10 14:43:08 +00:00
parent 2b8c256fd1
commit 2e7f160196

View file

@ -598,7 +598,7 @@
("<remap> <org-goto>" . consult-org-heading)) ("<remap> <org-goto>" . consult-org-heading))
: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 "roam/inbox.org" org-directory))
(org-archive-default-command #'org-archive-to-archive-sibling) (org-archive-default-command #'org-archive-to-archive-sibling)
(org-hide-emphasis-markers t) (org-hide-emphasis-markers t)
(org-use-sub-superscripts '{}) (org-use-sub-superscripts '{})
@ -692,7 +692,7 @@
:bind (("C-c n n" . org-capture)) :bind (("C-c n n" . org-capture))
:custom (org-capture-templates :custom (org-capture-templates
'(("n" "Note" entry '(("n" "Note" entry
(file+olp org-default-notes-file "Inbox")) (file org-default-notes-file))
("t" "Task" entry ("t" "Task" entry
(file+olp "tasks.org" "Inbox") (file+olp "tasks.org" "Inbox")
"* TODO %?\nDEADLINE: %t\n %i\n %a"))) "* TODO %?\nDEADLINE: %t\n %i\n %a")))
@ -783,7 +783,9 @@
(search . " %-12:c"))) (search . " %-12:c")))
(org-agenda-file-regexp "\\`[^.].*\\.org\\\(\\.gpg\\\)?\\'") (org-agenda-file-regexp "\\`[^.].*\\.org\\\(\\.gpg\\\)?\\'")
(org-agenda-files (list (org-agenda-files (list
(expand-file-name org-directory) (expand-file-name "tasks.org" org-directory)
(expand-file-name "calendar.org" org-directory)
(expand-file-name "roam/inbox.org" org-directory)
(expand-file-name "roam/journal.org" org-directory))) (expand-file-name "roam/journal.org" org-directory)))
:config :config
(appt-activate +1) (appt-activate +1)