]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
helm for shell history.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 9 Feb 2016 14:53:35 +0000 (15:53 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 9 Feb 2016 14:53:35 +0000 (15:53 +0100)
bba.org

diff --git a/bba.org b/bba.org
index 7a956d3b61f4e1b0bd5c2d63ff87d4fc38820f50..c712adba61750058ce4d66f77f39f6a766f05415 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -2046,6 +2046,12 @@ Some links you might check out:
                         (kbd "M-p")
                         'helm-eshell-history)
                       ))
+        (add-hook 'shell-mode-hook
+                  #'(lambda()
+                      (define-key shell-mode-map
+                        [remap comint-history-isearch-backward-regexp]
+                        'helm-comint-input-ring)
+                      ))
         (setq helm-mini-default-sources '(helm-source-buffers-list
                                           helm-source-recentf
                                           helm-source-bookmarks