Move org config into own module
Add org-journal config, add refile settings
This commit is contained in:
parent
36b8ec38da
commit
4582485ed7
|
@ -32,6 +32,7 @@
|
||||||
(require 'custom-email-config)
|
(require 'custom-email-config)
|
||||||
(require 'custom-feed-config)
|
(require 'custom-feed-config)
|
||||||
(require 'custom-ide-config)
|
(require 'custom-ide-config)
|
||||||
|
(require 'custom-org-config)
|
||||||
(require 'custom-ligatures-config)
|
(require 'custom-ligatures-config)
|
||||||
(require 'custom-project-config)
|
(require 'custom-project-config)
|
||||||
|
|
||||||
|
@ -86,15 +87,6 @@
|
||||||
(set-terminal-coding-system 'utf-8)
|
(set-terminal-coding-system 'utf-8)
|
||||||
(set-keyboard-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
|
;; Magit settings
|
||||||
(setq magit-clone-default-directory "~/Projects/")
|
(setq magit-clone-default-directory "~/Projects/")
|
||||||
|
|
||||||
|
|
15
home/emacs/modules/custom-org-config.el
Normal file
15
home/emacs/modules/custom-org-config.el
Normal 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)
|
Loading…
Reference in a new issue