From 3cbc7c1178612d75cf42b6d6507bab8bf195e83d Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 3 Dec 2022 09:52:24 +0100 Subject: [PATCH] Make Org agenda clock jumping consistent with that in Org buffers This means: also rebind `org-clock-goto` in agenda buffers to `db/org-clock-goto-first-open-checkbox` to jump to the first open checkbox if available. --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 00a2640..70f88e2 100644 --- a/init.el +++ b/init.el @@ -1085,7 +1085,8 @@ respectively." :commands (org-agenda) :bind (:map org-agenda-mode-map ("i" . org-agenda-clock-in) - ("v" . hydra-org-agenda-view/body)) + ("v" . hydra-org-agenda-view/body) + ([remap org-clock-goto] . db/org-clock-goto-first-open-checkbox)) :init (setq org-agenda-include-diary t org-agenda-span 1 org-agenda-insert-diary-strategy 'top-level