(use-package eshell
:bind (("C-r" . consult-history)))
It should probably only patch a mode keymap, not the global map. I tried
(use-package eshell
:bind (:map eshell-mode-map
("C-r" . consult-history)))
but I get
if: Symbol’s value as variable is void: eshell-mode-map
; we'd somehow need to bind after eshell-mode is loaded, I don't know how.
=> I don't use eshell, so I just removed it, but it could help other people if fixed.
Fixed! There's something strange going on with how Eshell defines its keymaps, so I found a work-around. Please see release 1.3.1. Thanks for reporting!