Add bindings for counsel-shell-history in comint mode

This commit is contained in:
Adam Goldsmith 2020-04-02 15:33:18 -04:00
parent 8b7598f5a0
commit a376094126
1 changed files with 5 additions and 1 deletions

View File

@ -404,7 +404,11 @@
("C-DEL" . ivy-backward-kill-word)
("C-<backspace>" . ivy-backward-kill-word)
("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
(bind-key "C-c C-c M-x" 'execute-extended-command) ;;normal M-x.
:config