summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-06-10 21:21:42 -0400
committerKyle Meyer <kyle@kyleam.com>2015-06-10 21:21:42 -0400
commit1f03c8601ffcb969596cbc9faab4abaeb763fc18 (patch)
treefc768833110fda6aa7d8f85d88fdcc639acf0e73
parente62ca119c70fab3840e9e4917fe78d1417b7328d (diff)
downloademacs.d-1f03c8601ffcb969596cbc9faab4abaeb763fc18.tar.gz
Move binding under correct heading
-rw-r--r--lisp/init-org.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index a66b3eb..a4ff008 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -505,7 +505,10 @@ displayed in the agenda."
(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))
+ (define-key org-agenda-mode-map (kbd "C-c C-f") 'org-agenda-follow-mode)
+ ;; Free up 'j' for `avy-goto-subword-1'.
+ (define-key org-agenda-mode-map (kbd "C-j") 'org-agenda-goto-date)
+ (define-key org-agenda-mode-map "j" 'avy-goto-subword-1))
;;; Refiling
@@ -598,11 +601,6 @@ global value. A numeric prefix sets MAXLEVEL (defaults to 2)."
(define-key org-mode-map [remap org-refile] 'km/org-refile-dwim)
(add-to-list 'org-speed-commands-user '("w" . km/org-refile-dwim)))
-(after 'org-agenda
- ;; Free up 'j' for `avy-goto-subword-1'.
- (define-key org-agenda-mode-map (kbd "C-j") 'org-agenda-goto-date)
- (define-key org-agenda-mode-map "j" 'avy-goto-subword-1))
-
;;; Links