Use consult for default history completion

This commit is contained in:
Daniel Borchmann 2024-08-14 20:21:57 +02:00
parent 306995032e
commit 7ea1a31a25
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -3139,7 +3139,9 @@ eventuelly be set to nil, however)."
(when (package-installed-p 'consult)
(bind-key "M-g i" #'consult-imenu)
(bind-key "C-x b" #'consult-buffer)
(setq completion-in-region-function #'consult-completion-in-region))
(setq completion-in-region-function #'consult-completion-in-region)
(bind-key "M-r" #'consult-history eshell-hist-mode-map)
(bind-key "M-r" #'consult-history minibuffer-mode-map))
;; Environment Variables