From d35dd4fa5d8eb06459f5849426a850c64dc6e051 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Mon, 12 Jul 2021 11:44:29 +0200 Subject: Add bakc emacs style history search. --- .inputrc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .inputrc 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 -- cgit v1.2.3