aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-org-journal.el
blob: 550e72c61c37051bca726bbdd241ac88aff36080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(use-package org-journal
  :ensure t
  :init
  ;; Change default prefix key; needs to be set before loading org-journal
  (setq org-journal-prefix-key "C-c j ")
  :config
  (setq org-journal-date-format "%A, %d %B %Y")

  (global-set-key (kbd "C-c j o") 'org-journal-open-current-journal-file)
  (global-set-key (kbd "C-c j j") 'org-journal-new-entry)
  (global-set-key (kbd "C-c j J") 'org-journal-new-scheduled-entry)

  (define-key org-journal-mode-map (kbd "C-c j n") 'org-journal-next-entry)
  (define-key org-journal-mode-map (kbd "C-c j p") 'org-journal-previous-entry)
  (define-key org-journal-mode-map (kbd "C-c j r") 'org-journal-reschedule-scheduled-entry)
  )

(provide 'rul-org-journal)
nihil fit ex nihilo