summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-01-01 21:39:18 -0500
committerKyle Meyer <kyle@kyleam.com>2017-01-16 18:51:46 -0500
commit4178c83be84d0dc89de631343c9f1e8b31fd5a40 (patch)
tree4d7b49e7030cb1e9fdbbc3fe8294cbe502a2f9b5
parentc7ccb82d8be1e00f0cfe9b9a2f10966396e28242 (diff)
downloademacs.d-4178c83be84d0dc89de631343c9f1e8b31fd5a40.tar.gz
org-agenda: Move binding for custom command
-rw-r--r--init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.el b/init.el
index 5e9c8fd..b036e5b 100644
--- a/init.el
+++ b/init.el
@@ -273,7 +273,6 @@
;; Bind `org-agenda-follow-mode' to same key as
;; `next-error-follow-minor-mode'.
("C-c C-f" . org-agenda-follow-mode)
- ("C-c C-w" . km/org-agenda-refile-dwim)
("C-o" . org-agenda-show-and-scroll-up)
;; Free up 'j' for `km/org-agenda-avy-goto-subword-1'.
("C-j" . org-agenda-goto-date)
@@ -361,7 +360,9 @@
(add-to-list 'org-agenda-bulk-custom-functions
'(?D km/org-agenda-delete-subtree))
- (define-key org-agenda-mode-map "D" #'km/org-agenda-delete-subtree))
+ (bind-keys :map org-agenda-mode-map
+ ("C-c C-w" . km/org-agenda-refile-dwim)
+ ("D" . km/org-agenda-delete-subtree)))
(use-package poporg
:defer t