diff options
author | Case Duckworth | 2022-02-08 20:59:02 -0600 |
---|---|---|
committer | Case Duckworth | 2022-02-08 20:59:02 -0600 |
commit | a733d45b24f0e97cc668d41bbd80b93e22585ac3 (patch) | |
tree | 83072195d72ebeb0fd63289cb95578746ccec17c /init.el | |
parent | Add corfu (diff) | |
download | emacs-a733d45b24f0e97cc668d41bbd80b93e22585ac3.tar.gz emacs-a733d45b24f0e97cc668d41bbd80b93e22585ac3.zip |
Add consult-notmuch
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el index 01d3f7f..0c8f173 100644 --- a/init.el +++ b/init.el | |||
@@ -1145,6 +1145,13 @@ They are completed by \"M-x TAB\" only in Tramp debug buffers." | |||
1145 | (:bind "C-x C-d" #'consult-dir | 1145 | (:bind "C-x C-d" #'consult-dir |
1146 | "C-x C-j" #'consult-dir-jump-file))) | 1146 | "C-x C-j" #'consult-dir-jump-file))) |
1147 | 1147 | ||
1148 | (setup (:straight consult-notmuch) | ||
1149 | (:load-after consult notmuch) | ||
1150 | (add-to-list 'consult-buffer-sources 'consult-notmuch-buffer-source) | ||
1151 | (with-eval-after-load 'vertico-multiform | ||
1152 | (setf (alist-get 'consult-notmuch vertico-multiform-commands) '(buffer) | ||
1153 | (alist-get 'consult-notmuch-tree vertico-multiform-commands) '(buffer)))) | ||
1154 | |||
1148 | (setup (:straight corfu) | 1155 | (setup (:straight corfu) |
1149 | (+with-ensure-after-init | 1156 | (+with-ensure-after-init |
1150 | (corfu-global-mode +1))) | 1157 | (corfu-global-mode +1))) |