Add bindings for counsel-shell-history in comint mode
This commit is contained in:
parent
8b7598f5a0
commit
a376094126
@ -404,7 +404,11 @@
|
|||||||
("C-DEL" . ivy-backward-kill-word)
|
("C-DEL" . ivy-backward-kill-word)
|
||||||
("C-<backspace>" . ivy-backward-kill-word)
|
("C-<backspace>" . ivy-backward-kill-word)
|
||||||
("M-DEL" . counsel-up-directory)
|
("M-DEL" . counsel-up-directory)
|
||||||
("M-<backspace>" . counsel-up-directory)))
|
("M-<backspace>" . counsel-up-directory))
|
||||||
|
:map comint-mode-map (("C-s" . counsel-shell-history)
|
||||||
|
("C-r" . counsel-shell-history)
|
||||||
|
("M-s" . swiper)
|
||||||
|
("M-r" . swiper)))
|
||||||
:init
|
:init
|
||||||
(bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x.
|
(bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x.
|
||||||
:config
|
:config
|
||||||
|
Loading…
Reference in New Issue
Block a user