summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-03-12 22:10:27 -0500
committerKyle Meyer <kyle@kyleam.com>2016-03-12 22:10:27 -0500
commit70f6784552a792f68ca17180443f085c2d4c4c47 (patch)
tree05d0584b6707f54022aa070c2061115f1554ca0e
parentec58266d02f2a98c510232e8d2feac93f2fbee58 (diff)
downloademacs.d-70f6784552a792f68ca17180443f085c2d4c4c47.tar.gz
Use bind-keys for org-agenda-mode-map
-rw-r--r--init.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.el b/init.el
index d3063a8..71cbe00 100644
--- a/init.el
+++ b/init.el
@@ -253,11 +253,12 @@
(org-agenda-overriding-header "Unscheduled TODO entries: ")))
("p" "Past timestamps" tags "TIMESTAMP<=\"<now>\"")))
- ;; 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)
- ;; Free up 'j' for `km/org-agenda-avy-goto-subword-1'.
- (define-key org-agenda-mode-map (kbd "C-j") #'org-agenda-goto-date))
+ (bind-keys :map org-agenda-mode-map
+ ;; Bind `org-agenda-follow-mode' to same key as
+ ;; `next-error-follow-minor-mode'.
+ ("C-c C-f" . org-agenda-follow-mode)
+ ;; Free up 'j' for `km/org-agenda-avy-goto-subword-1'.
+ ("C-j" . org-agenda-goto-date)))
(use-package org-contacts
:defer t