aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-org-journal.el
blob: 41f90cf2c89362c613ad1993a82cdc9d5c268841 (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
  (require 'rul-config-org)
  (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)
  )

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