Replace backwards search in minibuffer with history completion

I keep hitting C-r where I should be using M-r instead.  Let's make my
life a little bit easier and make C-r behave like M-r.
This commit is contained in:
Daniel Borchmann 2024-08-31 22:21:19 +02:00
parent 75b54128bd
commit 29792b736c
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -3140,7 +3140,8 @@ eventuelly be set to nil, however)."
(bind-key "C-x b" #'consult-buffer) (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 eshell-hist-mode-map)
(bind-key "M-r" #'consult-history minibuffer-mode-map)) (bind-key "M-r" #'consult-history minibuffer-mode-map)
(bind-key "C-r" #'consult-history minibuffer-mode-map))
;; Environment Variables ;; Environment Variables