summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-11 23:27:07 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-11 23:27:07 -0500
commit07c050efe54a0f7902adea7cae84ee59f54a65a4 (patch)
treec0d936ed783897a2cf2e2782b4bce611522a3d88 /lisp
parent5188be1d749437c32e041931217a3aaff6526bbf (diff)
downloademacs.d-07c050efe54a0f7902adea7cae84ee59f54a65a4.tar.gz
Bind ace-jump-mode to 'j' in Org agenda
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index f025ea9..9ce680f 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -450,6 +450,11 @@ global value. A numeric prefix sets MAXLEVEL (defaults to 2)."
(define-key km/global-org-map "w" 'org-refile-goto-last-stored)
(define-key km/org-prefix-map "w" 'km/org-refile-to-other-org-buffer)
+(after 'org-agenda
+ ;; Free up 'j' for `ace-jump-mode'.
+ (define-key org-agenda-mode-map (kbd "C-j") 'org-agenda-goto-date)
+ (define-key org-agenda-mode-map "j" 'ace-jump-mode))
+
;;; Export