Add support for org-journal

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2019-09-15 13:17:35 +09:00
parent a736158dae
commit 7886138f5b
3 changed files with 22 additions and 2 deletions

View file

@ -901,4 +901,16 @@ compelling reason, so..."
org-clock-cancel)
(org-clock-load))
:config
(add-hook 'kill-emacs-hook #'org-clock-save)))
(add-hook 'kill-emacs-hook #'org-clock-save))
(use-package! org-journal
:when (featurep! +journal)
:config
(map! :map org-journal-search-mode-map
:localleader
"n" #'org-journal-search-next
"p" #'org-journal-search-prev)
(map! :map org-journal-mode-map
:localleader
"n" #'org-journal-open-next-entry
"p" #'org-journal-open-previous-entry)))

View file

@ -49,3 +49,6 @@
(package! centered-window :recipe (:host github :repo "anler/centered-window-mode"))
(package! org-tree-slide)
(package! ox-reveal))
(when (featurep! +journal)
(package! org-journal))