feat(emacs): Use consult-history where applicable

This commit is contained in:
Madeleine Sydney
2025-03-04 03:10:59 -07:00
parent a8943c5d67
commit 6523fc6b64
2 changed files with 2 additions and 2 deletions

View File

@@ -190,7 +190,7 @@
:states '(normal insert) :states '(normal insert)
"C-j" #'eshell-next-matching-input-from-input "C-j" #'eshell-next-matching-input-from-input
"C-k" #'eshell-previous-matching-input-from-input "C-k" #'eshell-previous-matching-input-from-input
"C-s" #'eshell-isearch-backward) "C-s" #'consult-history)
:config :config
;; When cd'd into a TRAMP remote, automatically expand '/' to the TRAMP ;; When cd'd into a TRAMP remote, automatically expand '/' to the TRAMP
;; notation referring to the remote's root. ;; notation referring to the remote's root.

View File

@@ -155,7 +155,7 @@ for example when calling `shell'.")
:states '(normal insert) :states '(normal insert)
"C-k" #'comint-previous-input "C-k" #'comint-previous-input
"C-j" #'comint-next-input "C-j" #'comint-next-input
"C-s" #'comint-history-isearch-backward) "C-s" #'consult-history)
(general-def (general-def
:keymaps 'comint-mode-map :keymaps 'comint-mode-map
:states 'insert :states 'insert