diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-05-30 20:40:08 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-05-30 20:40:08 +0200 |
| commit | ac714ca8c409643ae936bf9250498da2d0be17e5 (patch) | |
| tree | 21b8d06e9e1fec6c8e3cefc27a486077b54c5c17 | |
| parent | 192c3522297871d84a4a1f3b4906d5926c347347 (diff) | |
Add C-p C-n to move through readline's history.
| -rw-r--r-- | .inputrc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,6 @@ # Key bindings, up/down arrow searches through history -"\e[A": history-subscring-search-backward -"\e[B": history-subscring-search-forward -"\eOA": history-subscring-search-backward -"\eOB": history-subscring-search-forward +"\e[A": history-substring-search-backward +"\e[B": history-substring-search-forward + +"\C-p": history-substring-search-backward +"\C-n": history-substring-search-backward |
