expose org-journal binded functions as commands
And also fix indentation. This is to complete #7060
This commit is contained in:
parent
c37f4212e3
commit
0477040f7e
|
@ -561,26 +561,25 @@ Headline^^ Visit entry^^ Filter^^ Da
|
|||
(defun org/init-org-journal ()
|
||||
(use-package org-journal
|
||||
:defer t
|
||||
:commands (org-journal-new-entry org-journal-search-forever)
|
||||
:init
|
||||
(progn
|
||||
(spacemacs/declare-prefix "aoj" "org-journal")
|
||||
(spacemacs/set-leader-keys
|
||||
"aojj" 'org-journal-new-entry
|
||||
"aojs" 'org-journal-search-forever)
|
||||
(spacemacs/declare-prefix "aoj" "org-journal")
|
||||
(spacemacs/set-leader-keys
|
||||
"aojj" 'org-journal-new-entry
|
||||
"aojs" 'org-journal-search-forever)
|
||||
|
||||
(spacemacs/set-leader-keys-for-major-mode 'calendar-mode
|
||||
"r" 'org-journal-read-entry
|
||||
"i" 'org-journal-new-date-entry
|
||||
"n" 'org-journal-next-entry
|
||||
"p" 'org-journal-previous-entry
|
||||
"s" 'org-journal-search-forever
|
||||
"w" 'org-journal-search-calendar-week
|
||||
"m" 'org-journal-search-calendar-month
|
||||
"y" 'org-journal-search-calendar-year)
|
||||
"n" 'org-journal-next-entry
|
||||
"p" 'org-journal-previous-entry
|
||||
"s" 'org-journal-search-forever
|
||||
"w" 'org-journal-search-calendar-week
|
||||
"m" 'org-journal-search-calendar-month
|
||||
"y" 'org-journal-search-calendar-year)
|
||||
|
||||
(spacemacs/set-leader-keys-for-major-mode 'org-journal-mode
|
||||
"j" 'org-journal-new-entry
|
||||
"n" 'org-journal-open-next-entry
|
||||
"p" 'org-journal-open-previous-entry))))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue