diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-07-12 11:44:29 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-07-12 11:44:29 +0200 |
| commit | d35dd4fa5d8eb06459f5849426a850c64dc6e051 (patch) | |
| tree | 4a1e63f9d443d6e031837c2b771d0ebd3276db1b /.inputrc | |
| parent | e086e5d9db4fded22954bd08e6521fe28b53eb21 (diff) | |
Add bakc emacs style history search.
Diffstat (limited to '.inputrc')
| -rw-r--r-- | .inputrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.inputrc b/.inputrc new file mode 100644 index 0000000..b839bca --- /dev/null +++ b/.inputrc @@ -0,0 +1,6 @@ +# Key bindings, up/down arrow searches through history +"\e[A": history-substring-search-backward +"\e[B": history-substring-search-forward +- +"\C-p": history-substring-search-backward +"\C-n": history-substring-search-forward |
