I'd like to have a shortcut to change the state of a TODO
straight to DONE
(and back) with the CLOSED
time tag folded when I'm at any position on the line (not like speed-keys requiring to be before the first asterisk).
Currently I have 2 options:
C-c C-t d TAB (with
org-use-fast-todo-selection
set tot
, d is myDONE
state shortcut and TAB hides the subtree), orS-right TAB (using
org-shiftright
,DONE
is the first state afterTODO
).
Can you please help me bind this to a single shortcut like C-c C-d. Please note I have more states than TODO
and DONE
but this shortcut should just toggle between those too.
Bonus points: Additional command that also starts a new TODO
item on the next line at the same level as the previous task.
Thank you very much!
cwd
will change state to DONE, andwta
will add a new TODO. – abo-aboC-c <letter>
binding likeC-c d
, as all such bindings are reserved for end-users, whereasC-c C-d
could end up clashing with something else. – phils