summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2025-05-31 12:13:05 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2025-06-01 14:27:19 +0100
commit117999f0afa2a3ea36383e8afe16f95b720afbbf (patch)
treebe50e37062036e5b186b3dc6dc2346e70932b4af /emacs
parent53fc42a78cf647d3333c7e55d4859bbe0769b9c2 (diff)
emacs: Bind ‘s-s’ to ‘consult-history’ in Eshell
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 8c13a2d..ee0573a 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -230,7 +230,8 @@
`("TERM" ,(lambda () "xterm-256colors") t t))
:bind (("C-c e" . eshell)
:map eshell-mode-map
- ("s-l" . my/eshell-clear))
+ ("s-l" . my/eshell-clear)
+ ("s-s" . consult-history))
:custom ((eshell-cmpl-ignore-case t)
(eshell-aliases-file (expand-file-name "alias" user-emacs-directory))
(eshell-directory-name (my/cache-file-name "eshell"))