summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-08 23:52:17 +0100
committerjao <jao@gnu.org>2022-08-08 23:52:17 +0100
commit8d8916d8cc81900f619b15ea6fbf545eae5f70a9 (patch)
tree169b3ed927e3579862d5420991e4ce2e8b5a9f5c /init.el
parenta0e2b5ac4495bf5f317fd8efd557bb2faa19c36d (diff)
downloadelibs-8d8916d8cc81900f619b15ea6fbf545eae5f70a9.tar.gz
elibs-8d8916d8cc81900f619b15ea6fbf545eae5f70a9.tar.bz2
consult-recoll setup
Diffstat (limited to 'init.el')
-rw-r--r--init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.el b/init.el
index be5e4f7..daa5e26 100644
--- a/init.el
+++ b/init.el
@@ -974,6 +974,7 @@
(consult-recoll (format "dir:%s " jao-org-notes-dir)))
(use-package consult-recoll
+ :commands (consult-recoll consult-recoll-embark-setup)
:init (setq consult-recoll-open-fns
'(("application/pdf" . jao-recoll-open-pdf)
("text/html" . jao-recoll-open-html))
@@ -992,6 +993,8 @@
:bind (("s-r" . #'jao-recoll-transient)))
+(with-eval-after-load "embark" (consult-recoll-embark-setup))
+
;;; Buffers
;;;; cursor and mark
(transient-mark-mode -1)