commit 43d7c3485e228030f6be2d4b57117b07f90dc06d
parent 6c805fff67969a9750ad455bb9c47984c3e4ef78
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 28 Aug 2024 21:53:09 +0200
emacs: org-ql for better agenda search
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -1721,6 +1721,9 @@ Install Org and require additional components that I use.
;; Linking to emails via notmuch
(use-package ol-notmuch)
+ ;; Improved search
+ (use-package org-ql)
+
;; Tempo expansions
(add-to-list 'org-structure-template-alist '("se" . "src emacs-lisp"))
(add-to-list 'org-structure-template-alist '("sb" . "src bibtex"))
@@ -2099,6 +2102,7 @@ The first two strings are what shows up in the agenda dispatcher (the key to pre
'(("n" "Next actions"
todo "NEXT" ((org-agenda-overriding-header "Next actions:")
(org-agenda-sorting-strategy '(priority-down alpha-up))))
+ ("q" "Query" (lambda (&rest _) (call-interactively #'org-ql-search)))
("@" "Next actions missing context"
todo "NEXT" ((org-agenda-overriding-header "Missing context:")
(org-agenda-sorting-strategy '(priority-down alpha-up))