summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-ace.el3
-rw-r--r--lisp/init-org.el1
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/init-ace.el b/lisp/init-ace.el
index b9b3599..19fd3ab 100644
--- a/lisp/init-ace.el
+++ b/lisp/init-ace.el
@@ -8,6 +8,9 @@
(ace-link-setup-default)
+(eval-after-load 'org
+ '(define-key org-mode-map (kbd "C-c m o") 'ace-link-org))
+
(define-key window-map "a" 'ace-window)
(setq aw-keys '(?a ?s ?d ?f ?g ?h ?j ?k ?l))
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 71e791a..6b671df 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -82,7 +82,6 @@
'km/org-tree-to-indirect-buffer-current-window)
(define-key org-mode-map (kbd "C-c m w") 'km/org-refile-to-other-org-buffer)
(define-key org-mode-map (kbd "C-c m s") 'km/org-sort-parent)
- (define-key org-mode-map (kbd "C-c m o") 'ace-link-org)
;; Don't let `org-cycle-agenda-files' binding override custom
;; `backward-kill-word' binding (`org-cycle-agenda-files' is still bound
;; to C-,).