summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index d412a1f..e2d77a3 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -78,12 +78,15 @@
("i" "#+index: ?" "#+index: ?")
("I" "#+include: %file ?" "<include file=%file markup=\"?\">")))
+(define-prefix-command 'km/org-prefix-map)
+(define-key km/org-prefix-map "w" 'km/org-refile-to-other-org-buffer)
+(define-key km/org-prefix-map "s" 'km/org-sort-parent)
+(define-key km/org-prefix-map "l" 'km/org-remove-title-leader)
+
(after 'org
(define-key org-mode-map (kbd "C-c C-x B")
'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 l") 'km/org-remove-title-leader)
+ (define-key org-mode-map (kbd "C-c m") 'km/org-prefix-map)
;; Override global `imenu' binding.
(define-key org-mode-map (kbd "C-c j") 'org-goto)
;; Don't let `org-cycle-agenda-files' binding override custom