aboutsummaryrefslogtreecommitdiff
path: root/extras/base.el
diff options
context:
space:
mode:
Diffstat (limited to 'extras/base.el')
-rw-r--r--extras/base.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/extras/base.el b/extras/base.el
index 7a88868..4701820 100644
--- a/extras/base.el
+++ b/extras/base.el
@@ -156,7 +156,12 @@
(add-to-list 'corfu-margin-formatters #'kind-icon-margin-formatter))
(use-package eshell
- :bind (("C-r" . consult-history)))
+ :init
+ (defun bedrock/setup-eshell ()
+ ;; Something funny is going on with how Eshell sets up its keymaps; this is
+ ;; a work-around to make C-r bound in the keymap
+ (keymap-set eshell-mode-map "C-r" 'consult-history))
+ :hook ((eshell-mode . bedrock/setup-eshell)))
;; Orderless: powerful completion style
(use-package orderless