all repos — archive/dotfiles @ 038456def8db8c79d36a0332a13e88b2366a2860

Superseded by nixfiles

Emacs: Add org-journal binding
Alan Pearce alan.pearce@spotcap.com
Mon, 16 Nov 2015 09:59:00 +0100
commit

038456def8db8c79d36a0332a13e88b2366a2860

parent

60872a8c3737b285e0281454e8c44b057bd92a0c

1 files changed, 6 insertions(+), 5 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1549,11 +1549,12 @@ I can use this to keep a journal.  I should use it.
 
 #+BEGIN_SRC emacs-lisp
-(req-package org-journal
-  :require org
-  :defer t
-  :config (progn
-            (setq org-journal-date-format "%A, %d %B %Y")))
+  (req-package org-journal
+    :require org
+    :bind ("s-j" . org-journal-new-entry)
+    :defer 20
+    :config (progn
+              (setq org-journal-date-format "%A, %d %B %Y")))
 #+END_SRC
 
 **** org-mobile