summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el13
1 files changed, 10 insertions, 3 deletions
diff --git a/init.el b/init.el
index e87b4d0..940630b 100644
--- a/init.el
+++ b/init.el
@@ -342,17 +342,24 @@
(define-key org-mode-map [remap org-refile] #'km/org-refile-dwim)
(define-key org-mode-map [remap org-goto] #'km/org-goto)
- (add-to-list 'org-speed-commands-user
+ (add-to-list 'org-speed-commands
'("m" . (progn (forward-char 1)
(call-interactively
#'org-insert-todo-heading-respect-content))))
- (add-to-list 'org-speed-commands-user '("o" . km/org-open-at-point-stay))
- (add-to-list 'org-speed-commands-user '("w" . km/org-refile-dwim))
+ (add-to-list 'org-speed-commands '("o" . km/org-open-at-point-stay))
+ (add-to-list 'org-speed-commands '("w" . km/org-refile-dwim))
(setq org-refile-target-verify-function #'km/org-refile-verify-target)
(add-hook 'org-after-refile-insert-hook #'km/org-maybe-sort-parent)
(org-add-link-type "pmid" #'km/org-pmid-open))
+ (with-eval-after-load 'org-keys
+ (add-to-list 'org-speed-commands
+ '("m" . (progn (forward-char 1)
+ (call-interactively
+ #'org-insert-todo-heading-respect-content))))
+ (add-to-list 'org-speed-commands '("o" . km/org-open-at-point-stay))
+ (add-to-list 'org-speed-commands '("w" . km/org-refile-dwim)))
(with-eval-after-load 'ox-md
(advice-add 'org-md-paragraph :filter-return #'km/org-md-fill-string)))