Start switch to using org-roam-dailies instead of org-journal

This commit is contained in:
Evie Litherland-Smith 2024-07-01 11:09:15 +01:00
parent 371a5c4c2c
commit af6b6219cc
2 changed files with 21 additions and 22 deletions

BIN
diary.gpg

Binary file not shown.

43
init.el
View file

@ -505,16 +505,7 @@
:after org
:bind
(("C-c n" . org-capture)
("C-c C-n" . org-capture-goto-last-stored))
:custom
(org-capture-templates
'(("t" "Task")
("tp" "Personal" entry (file+olp "tasks.org.gpg" "Personal" "Miscellaneous")
"* TODO [#B] %?"
:prepend t)
("tw" "Work" entry (file+olp "tasks.org.gpg" "Work" "Miscellaneous")
"* TODO [#B] %?"
:prepend t))))
("C-c C-n" . org-capture-goto-last-stored)))
(use-package org-roam
:after org
@ -523,6 +514,8 @@
:bind (("C-c r i" . org-roam-node-insert)
("C-c r f" . org-roam-node-find)
("C-c r n" . org-roam-capture)
("C-c r j" . org-roam-dailies-capture-today)
("M-g j" . org-roam-dailies-goto-today)
:map org-mode-map
("C-c r b" . org-roam-buffer-toggle))
:custom
@ -545,6 +538,21 @@
(window-parameters . ((no-delete-other-windows . t)))))
(org-roam-db-autosync-mode +1))
(use-package org-roam-dailies
:custom
(org-roam-dailies-directory "./")
(org-roam-dailies-capture-templates
'(("d" "default" entry
"* %?"
:target (file+datetree "journal.org.gpg" week))
("t" "task")
("tp" "personal" entry
"* TODO [#B] %? :personal:"
:target (file+datetree "journal.org.gpg" week))
("tw" "work" entry
"* TODO [#B] %? :work:"
:target (file+datetree "journal.org.gpg" week)))))
(use-package org-agenda
:after org
:bind (("C-c a" . org-agenda))
@ -567,7 +575,9 @@
(org-agenda-file-regexp "\\`[^.].*\\.org\\\(\\.gpg\\\)?\\'")
(org-agenda-files (list
(expand-file-name org-directory)
(expand-file-name "journal" org-directory))))
(expand-file-name "journal" org-directory)
(expand-file-name "roam" org-directory)
(expand-file-name "citar" org-directory))))
(use-package ox-icalendar
:after org
@ -580,17 +590,6 @@
(org-icalendar-combined-name "org-mode")
(org-icalendar-combined-description "Emacs org-mode combined export"))
(use-package org-journal
:after org
:bind (("M-g j" . org-journal-open-current-journal-file))
:custom
(org-journal-dir (expand-file-name "journal" org-directory))
(org-journal-enable-cache nil)
(org-journal-encrypt-journal t)
(org-journal-file-type 'yearly)
(org-journal-file-format "%Y.org")
(org-journal-find-file 'find-file))
(use-package org-noter
:after (org doc-view citar)
:commands org-noter