Add consult-notmuch

This commit is contained in:
Case Duckworth 2022-02-08 20:59:02 -06:00
parent 3b34e8cf35
commit a733d45b24
1 changed files with 7 additions and 0 deletions

View File

@ -1145,6 +1145,13 @@ They are completed by \"M-x TAB\" only in Tramp debug buffers."
(:bind "C-x C-d" #'consult-dir
"C-x C-j" #'consult-dir-jump-file)))
(setup (:straight consult-notmuch)
(:load-after consult notmuch)
(add-to-list 'consult-buffer-sources 'consult-notmuch-buffer-source)
(with-eval-after-load 'vertico-multiform
(setf (alist-get 'consult-notmuch vertico-multiform-commands) '(buffer)
(alist-get 'consult-notmuch-tree vertico-multiform-commands) '(buffer))))
(setup (:straight corfu)
(+with-ensure-after-init
(corfu-global-mode +1)))