From 6523fc6b64ed3d866a0500d07a854877fd606486 Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Tue, 4 Mar 2025 03:10:59 -0700 Subject: [PATCH] feat(emacs): Use consult-history where applicable --- users/crumb/programs/emacs/modules/syd-eshell.el | 2 +- users/crumb/programs/emacs/modules/syd-ui.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/users/crumb/programs/emacs/modules/syd-eshell.el b/users/crumb/programs/emacs/modules/syd-eshell.el index 238d9da..675da43 100644 --- a/users/crumb/programs/emacs/modules/syd-eshell.el +++ b/users/crumb/programs/emacs/modules/syd-eshell.el @@ -190,7 +190,7 @@ :states '(normal insert) "C-j" #'eshell-next-matching-input-from-input "C-k" #'eshell-previous-matching-input-from-input - "C-s" #'eshell-isearch-backward) + "C-s" #'consult-history) :config ;; When cd'd into a TRAMP remote, automatically expand '/' to the TRAMP ;; notation referring to the remote's root. diff --git a/users/crumb/programs/emacs/modules/syd-ui.el b/users/crumb/programs/emacs/modules/syd-ui.el index d288f7c..b680a7c 100755 --- a/users/crumb/programs/emacs/modules/syd-ui.el +++ b/users/crumb/programs/emacs/modules/syd-ui.el @@ -155,7 +155,7 @@ for example when calling `shell'.") :states '(normal insert) "C-k" #'comint-previous-input "C-j" #'comint-next-input - "C-s" #'comint-history-isearch-backward) + "C-s" #'consult-history) (general-def :keymaps 'comint-mode-map :states 'insert