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

View File

@ -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