Try out consult-org-agenda for jumping directly to Org headings

Looks good and includes tags!
This commit is contained in:
Daniel Borchmann 2025-05-15 18:16:11 +02:00
parent fb0b6dc2d7
commit 96ac10216e
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -1302,18 +1302,7 @@ Current Task: %s(replace-regexp-in-string \"%\" \"%%\" (or org-clock-current-tas
"
("c" (db/org-clock-goto-first-open-checkbox nil)
nil)
("a" (with-current-buffer
;; Make sure we are in some Org buffer, as `org-refile-get-location'
;; might try to parse the current buffer in search for some Org
;; headings, possibly producing errors along the way.
(->> (org-agenda-files :unrestricted)
cl-first
get-file-buffer)
;; Show all possible items, i.e. exclude refile verification; since the
;; cache includes only verified items, also disable it locally.
(let ((org-refile-use-cache nil)
(org-refile-target-verify-function nil))
(org-refile '(4))))
("a" consult-org-agenda
nil)
("s" (db/org-clock-goto-first-open-checkbox t)
nil))