aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-org-journal.el
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2023-08-15 09:06:59 -0700
committerRaul Benencia <rul@kalgan.cc>2023-08-15 09:06:59 -0700
commit4b1b34dd89eeeedd693e98bbc3e3e9126bb4624d (patch)
treeed059293431bd0584fa70a6f879b035711ddc253 /.emacs.d/rul-lisp/packages/rul-org-journal.el
parent1986fc80738f168a2aecad6f8c6d74302a9dfd0c (diff)
emacs: add org-journal keybindings
Diffstat (limited to '.emacs.d/rul-lisp/packages/rul-org-journal.el')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-org-journal.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-org-journal.el b/.emacs.d/rul-lisp/packages/rul-org-journal.el
index 9b85071..41f90cf 100644
--- a/.emacs.d/rul-lisp/packages/rul-org-journal.el
+++ b/.emacs.d/rul-lisp/packages/rul-org-journal.el
@@ -5,6 +5,14 @@
(setq org-journal-prefix-key "C-c j ")
:config
(require 'rul-config-org)
- (setq org-journal-date-format "%A, %d %B %Y"))
+ (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