diff options
author | noa | 2025-02-17 02:27:34 +0800 |
---|---|---|
committer | noa | 2025-02-17 02:27:34 +0800 |
commit | 62ec822532f2285bb51dae07ba8618b0d3a0e80f (patch) | |
tree | b7b14f97c928449f4f11c4e81e791a8345abbcb1 /emacs/init.el | |
parent | 2b1a6a883a95f50272330c03a5d86d28957583ef (diff) |
Add consult-history to comint mode
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 4 |
1 files changed, 3 insertions, 1 deletions
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) |