Add some more org configuration
This commit is contained in:
parent
ea0d72aeca
commit
a27d68b18c
1 changed files with 8 additions and 0 deletions
|
@ -235,9 +235,17 @@
|
||||||
|
|
||||||
;; Org
|
;; Org
|
||||||
(use-package org
|
(use-package org
|
||||||
|
:init
|
||||||
|
(defun set-creation-date-heading-property () (org-set-property "CREATED" (format-time-string (org-time-stamp-format t t))))
|
||||||
|
:hook
|
||||||
|
(org-insert-heading . set-creation-date-heading-property)
|
||||||
:custom
|
:custom
|
||||||
(org-directory "~/sync/notes" "Store org journal in synced directory")
|
(org-directory "~/sync/notes" "Store org journal in synced directory")
|
||||||
(org-agenda-files '("~/sync/notes") "Let's say all files can contain events for now")
|
(org-agenda-files '("~/sync/notes") "Let's say all files can contain events for now")
|
||||||
|
:general
|
||||||
|
(lmap
|
||||||
|
"SPC i" '(org-insert-heading :which-key "Insert heading")
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Sorting when filtering
|
;; Sorting when filtering
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue