I'm becoming addicted to Org-mode, particularly the way that calendar items (aka timestamped items) and TODOs are both equal-class citizens in a project tree. As time goes on, many of those calendar items slip into the past.
I'd love a single keybind that would automatically archive any timestamped/calendar item (n.b.: not a scheduled item or a deadlined item, and preferably only things without TODO types) that has already happened.
Is there something like this already available in Org-mode? Can anybody point me in the direction of how to write something like org-archive-past-items-in-buffer
? (My elisp skills are weak.) Thanks!
(EDIT: I should note that I mean archive in the sense of archive files C-c $, not archive in the sense of archive tags/siblings C-c C-x a or C-c C-x A.)