From 3480c7ccf9418a0d612e8ddb4aa51f5ba325d965 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 6 Mar 2018 19:37:10 +0300 Subject: [PATCH] .inputrc: Change key bindings Restore Up/Down behaviour to be prev/next history. Make PgUp/PgDn behaviour to be prev/next search. --- .inputrc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.inputrc b/.inputrc index 04095af..5bfecb9 100644 --- a/.inputrc +++ b/.inputrc @@ -37,14 +37,10 @@ M-Tab: menu-complete #"\C-h": backward-delete-char #"\e\C-h": backward-kill-word -# PgUp/PgDn - previous/next command in history -"\e[5~": previous-history -"\e[6~": next-history - -# More intelligent Up/Down behavior: use the text that has already +# More intelligent PgUp/PgDn behavior: use the text that has already # been typed as the prefix for searching through commands. -"\e[A": history-search-backward -"\e[B": history-search-forward +"\e[5~": history-search-backward +"\e[6~": history-search-forward # Debug "\C-xf": dump-functions -- 2.39.2