org-mode
agenda view has a bunch of commands accessible with a single key press.
E.g. typing b
moves backward in time to display earlier dates, and typing t
brings up a dialog to change the TODO state of the item.
I would like to redefine t
to toggle between TODO
and DONE
without any dialog, and also redefine b
to reschedule a task at focus to the next week.
How can those built-in commands be redefined?
(require 'org-agenda) (define-key org-agenda-mode-map "t" 'butterfly)
You only need the require statement one time at the outset before redefining the bindings.C-c a <key>
scheme, but found nothing about theorg-agenda-mode-map
butterfly
example above is sufficient to teach you how to redefine keys for the org-agenda view. The other two questions should each be a separate thread -- i.e., thread number one is the butterfly question/answer; thread number two is creating a simple toggle between todo/done; thread number three is how to reschedule a task for next week. Please be certain to Google a bit and see if there are already threads that answer your question -- because that is what we will do before answering.