summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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