Add global org archive file

This commit is contained in:
Kiana Sheibani 2024-02-27 15:19:47 -05:00
parent 42935deb6b
commit e42f49e26c
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -2230,8 +2230,11 @@ doesn't mean everyone would have the time or patience to make it work.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-directory "~/org/")
(after! org (after! org
(setq org-directory "~/org/" (setq org-archive-location ; Global archive file
(concat org-directory ".org_archive::")
org-cycle-emulate-tab nil ; We don't need this with evil org-cycle-emulate-tab nil ; We don't need this with evil
org-attach-dir-relative t org-attach-dir-relative t
org-log-into-drawer t ; Write logs into :LOGBOOK: org-log-into-drawer t ; Write logs into :LOGBOOK: