diff options
-rw-r--r-- | init.el | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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))) |