Remap eshell history search with consult alternative
This commit is contained in:
parent
328613e296
commit
73485647b4
3
init.el
3
init.el
|
|
@ -375,7 +375,8 @@
|
||||||
:config
|
:config
|
||||||
(define-key global-map [remap isearch-forward] 'consult-ripgrep)
|
(define-key global-map [remap isearch-forward] 'consult-ripgrep)
|
||||||
(define-key global-map [remap switch-to-buffer] 'consult-buffer)
|
(define-key global-map [remap switch-to-buffer] 'consult-buffer)
|
||||||
(define-key global-map [remap set-fill-column] 'consult-fd))
|
(define-key global-map [remap set-fill-column] 'consult-fd)
|
||||||
|
(define-key global-map [remap eshell-previous-matching-input] 'consult-history))
|
||||||
|
|
||||||
|
|
||||||
;; Persist history over Emacs restarts. Vertico sorts by history position.
|
;; Persist history over Emacs restarts. Vertico sorts by history position.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue