Move org config into own module

Add org-journal config, add refile settings
This commit is contained in:
Evie Litherland-Smith 2023-10-24 14:36:12 +01:00
parent 36b8ec38da
commit 4582485ed7
2 changed files with 16 additions and 9 deletions

View file

@ -32,6 +32,7 @@
(require 'custom-email-config)
(require 'custom-feed-config)
(require 'custom-ide-config)
(require 'custom-org-config)
(require 'custom-ligatures-config)
(require 'custom-project-config)
@ -86,15 +87,6 @@
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
;; Org-Mode settings
(setq org-directory "~/Org"
org-agenda-files '("~/Org/")
org-agenda-sticky t
org-agenda-prefix-format '((agenda . " %i %t %s")
(todo . " %i")
(tags . " %i")
(search . " %i")))
;; Magit settings
(setq magit-clone-default-directory "~/Projects/")

View file

@ -0,0 +1,15 @@
(setq org-directory "~/Org"
org-journal-dir "~/Org/journal/"
org-journal-file-type 'daily
org-journal-file-format "%Y%m%d.org"
org-agenda-files '("~/Org/")
org-agenda-sticky t
org-agenda-prefix-format '((agenda . " %i %t %s")
(todo . " %i")
(tags . " %i")
(search . " %i"))
org-refile-use-outline-path t
org-refile-allow-creating-parent-nodes t
org-refile-targets '((nil :maxlevel . 3)
(org-agenda-files :maxlevel . 3)))
(provide 'custom-org-config)