From 62ec822532f2285bb51dae07ba8618b0d3a0e80f Mon Sep 17 00:00:00 2001 From: noa Date: Mon, 17 Feb 2025 02:27:34 +0800 Subject: Add consult-history to comint mode --- emacs/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 7ccc8aa..a6b5777 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -523,7 +523,9 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." ;; ([remap info] . consult-info) ([remap repeat-complex-command] . consult-complex-command) ([remap bookmark-jump] . consult-bookmark) - ("C-x C-r" . consult-recent-file)) + ("C-x C-r" . consult-recent-file) + :map comint-mode-map + ([remap comint-history-isearch-backward-regexp] . consult-history)) ;; :custom ;; Use consult for completion at point ;; (completion-in-region-function 'consult-completion-in-region) -- cgit 1.4.1-2-gfad0