summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorJakob L. Kreuze2020-07-02 21:14:53 -0400
committerJakob L. Kreuze2020-07-02 21:14:53 -0400
commit127739b797de9393641dc46ce038f056d4443d32 (patch)
tree2a17e2153ea148d3b888ec9e99de40414deefdc1 /lisp/shell.el
parentf0a4bb3e6db11de4332c33fe671efb6d5b85362e (diff)
Add history searching keybindings.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 0ff7b7e..3d58519 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -168,3 +168,6 @@
(end-of-line)))
(bind-key "C-c C-l" 'shell-clear shell-mode-map)
+
+(bind-key "C-c C-s" 'comint-history-isearch shell-mode-map)
+(bind-key "C-c C-r" 'comint-history-isearch-backward shell-mode-map)

© 2015 - 2026 Jakob L. Kreuze