summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-07 23:51:44 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-07 23:51:44 -0500
commitca63baa1f667115b736d3d14d1b0761ab8cd24d5 (patch)
tree26e7e04d555f68ea65b7994a548f11e459acf6e6
parent9f25c15df0ed5fc984a9c8ae3f54d0377b9f3086 (diff)
downloademacs.d-ca63baa1f667115b736d3d14d1b0761ab8cd24d5.tar.gz
Add 'C-c C-f' binding for org-agenda-follow-mode
-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 29a3757..f025ea9 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -362,6 +362,11 @@ displayed in the agenda."
(define-key km/global-org-map "m" 'km/org-open-default-notes-file-inbox)
(define-key km/global-org-map "n" 'km/org-agenda-add-or-remove-file)
+(after 'org-agenda
+ ;; Bind `org-agenda-follow-mode' to same key as
+ ;; `next-error-follow-minor-mode'.
+ (define-key org-agenda-mode-map (kbd "C-c C-f") 'org-agenda-follow-mode))
+
;;; Refiling