diff options
| author | Jakob L. Kreuze | 2020-07-02 21:14:53 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze | 2020-07-02 21:14:53 -0400 |
| commit | 127739b797de9393641dc46ce038f056d4443d32 (patch) | |
| tree | 2a17e2153ea148d3b888ec9e99de40414deefdc1 /lisp/shell.el | |
| parent | f0a4bb3e6db11de4332c33fe671efb6d5b85362e (diff) | |
Add history searching keybindings.
Diffstat (limited to 'lisp/shell.el')
| -rw-r--r-- | lisp/shell.el | 3 |
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) |