summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-10-08 10:09:14 -0400
committerKyle Meyer <kyle@kyleam.com>2016-10-08 10:09:45 -0400
commitae7824bcf00453b57a3cd257cd1965e94b1e2fb6 (patch)
tree9c6ecf72415d08bfc0e913fa9955c5c34933c2b7
parent17d965f8f5310f1ab25fb911c59172278adaba80 (diff)
downloademacs.d-ae7824bcf00453b57a3cd257cd1965e94b1e2fb6.tar.gz
Add speed command for inserting TODO heading
-rw-r--r--init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el
index 02f3d49..c1a054a 100644
--- a/init.el
+++ b/init.el
@@ -322,6 +322,10 @@
(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
+ '("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))