diff options
author | Kyle Meyer <kyle@kyleam.com> | 2017-01-01 21:39:18 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-01-16 18:51:46 -0500 |
commit | 4178c83be84d0dc89de631343c9f1e8b31fd5a40 (patch) | |
tree | 4d7b49e7030cb1e9fdbbc3fe8294cbe502a2f9b5 | |
parent | c7ccb82d8be1e00f0cfe9b9a2f10966396e28242 (diff) | |
download | emacs.d-4178c83be84d0dc89de631343c9f1e8b31fd5a40.tar.gz |
org-agenda: Move binding for custom command
-rw-r--r-- | init.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |