From a376094126fdabd98f1e507d385531898b545383 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 2 Apr 2020 15:33:18 -0400 Subject: [PATCH] Add bindings for counsel-shell-history in comint mode --- .emacs.d/init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5e9bb27..65db5d6 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -404,7 +404,11 @@ ("C-DEL" . ivy-backward-kill-word) ("C-" . ivy-backward-kill-word) ("M-DEL" . counsel-up-directory) - ("M-" . counsel-up-directory))) + ("M-" . 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