From: Oleg Broytman Date: Tue, 6 Mar 2018 16:37:10 +0000 (+0300) Subject: .inputrc: Change key bindings X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=3480c7ccf9418a0d612e8ddb4aa51f5ba325d965 .inputrc: Change key bindings Restore Up/Down behaviour to be prev/next history. Make PgUp/PgDn behaviour to be prev/next search. --- 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