emacs: eshell: bind counsel-esh-history in eshell-hist-mode-map
authorAmin Bandali <bandali@gnu.org>
Mon, 18 Nov 2019 01:37:12 +0000 (20:37 -0500)
committerAmin Bandali <bandali@gnu.org>
Mon, 18 Nov 2019 01:37:12 +0000 (20:37 -0500)
.emacs.d/init.el

index e8e4870..5e3ce80 100644 (file)
@@ -1087,7 +1087,8 @@ This function is intended for use with `ivy-ignore-buffers'."
                ("C-S-l" . b/eshell-clear)
                ("M-r"   . counsel-esh-history)
                ;; ([tab]   . company-complete)
                ("C-S-l" . b/eshell-clear)
                ("M-r"   . counsel-esh-history)
                ;; ([tab]   . company-complete)
-               ))
+               :map eshell-hist-mode-map
+               ("M-r" . counsel-esh-history)))
 
   :hook (eshell-mode . b/eshell-setup)
   :custom
 
   :hook (eshell-mode . b/eshell-setup)
   :custom