From 127739b797de9393641dc46ce038f056d4443d32 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Thu, 2 Jul 2020 21:14:53 -0400 Subject: Add history searching keybindings. --- lisp/shell.el | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.3