From ac714ca8c409643ae936bf9250498da2d0be17e5 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Sun, 30 May 2021 20:40:08 +0200 Subject: Add C-p C-n to move through readline's history. --- .inputrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.inputrc b/.inputrc index 2e98173..0f230bf 100644 --- a/.inputrc +++ b/.inputrc @@ -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 -- cgit v1.2.3