diff options
-rw-r--r-- | init.el | 30 | ||||
-rw-r--r-- | lib/doc/jao-recoll.el/jao-recoll.el (renamed from lib/doc/jao-recoll.el) | 0 |
2 files changed, 5 insertions, 25 deletions
@@ -933,21 +933,6 @@ (require 'jao-custom-completion) ;;;; recoll -(use-package jao-recoll :demand t) - -(defun jao-recoll-messages () - (interactive) - (jao-recoll "mime:message ")) - -(defun jao-recoll-docs () - (interactive) - (jao-recoll (format "dir:%s/doc " jao-org-dir))) - -(defun jao-recoll-notes () - (interactive) - (jao-recoll (format "dir:%s " jao-org-notes-dir))) - -;;;; consult-recoll (jao-load-path "consult-recoll") (defun jao-recoll-format (title url mtype) @@ -998,16 +983,11 @@ (consult-customize consult-recoll :preview-key 'any) (transient-define-prefix jao-recoll-transient () - [["Consult recoll queries" - ("r" "consult recoll query" consult-recoll) - ("n" "consult recoll on notes" jao-recoll-consult-notes) - ("d" "consult recoll on docs" jao-recoll-consult-docs) - ("m" "consult recoll on messages" jao-recoll-consult-messages)] - ["Recoll queries" - ("R" "recoll query" jao-recoll) - ("N" "recoll on notes" jao-recoll-notes) - ("D" "consult recoll on docs" jao-recoll-docs) - ("M" "consult recoll on messages" jao-recoll-messages)]]) + ["Consult recoll queries" + ("r" "everywhere" consult-recoll) + ("n" "on notes" jao-recoll-consult-notes) + ("d" "on docs" jao-recoll-consult-docs) + ("m" "on messages" jao-recoll-consult-messages)]) :bind (("s-r" . #'jao-recoll-transient))) diff --git a/lib/doc/jao-recoll.el b/lib/doc/jao-recoll.el/jao-recoll.el index b23106f..b23106f 100644 --- a/lib/doc/jao-recoll.el +++ b/lib/doc/jao-recoll.el/jao-recoll.el |