summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-02-05 12:00:27 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-03-20 17:55:39 -0400
commit889d05ee9d9dbcc494a319f14c901b1703a23b3b (patch)
tree1f0d96400c5860828c1021e9fece99085c710fea
parent0528292ac664469ed5438eef1588527c0199602b (diff)
Use consult-history with eshell
-rw-r--r--emacs/.config/emacs-kj/lisp/kj-eshell.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.config/emacs-kj/lisp/kj-eshell.el b/emacs/.config/emacs-kj/lisp/kj-eshell.el
index bd20f05..3787c67 100644
--- a/emacs/.config/emacs-kj/lisp/kj-eshell.el
+++ b/emacs/.config/emacs-kj/lisp/kj-eshell.el
@@ -1,5 +1,9 @@
;;; -*- lexical-binding: t; -*-
(use-package eshell
+ :bind
+ (:map eshell-hist-mode-map
+ ("M-r" . consult-history))
+
:config
(add-hook 'eshell-mode-hook
(lambda ()