From 29792b736c2376c82febc252ff5bc1dc10ccb773 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 31 Aug 2024 22:21:19 +0200 Subject: [PATCH] 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. --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 876a351..ae99c23 100644 --- a/init.el +++ b/init.el @@ -3140,7 +3140,8 @@ eventuelly be set to nil, however)." (bind-key "C-x b" #'consult-buffer) (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)) + (bind-key "M-r" #'consult-history minibuffer-mode-map) + (bind-key "C-r" #'consult-history minibuffer-mode-map)) ;; Environment Variables