]> git.phdru.name Git - dotfiles.git/commitdiff
PgUp/PgDn for history-search
authorOleg Broytman <phd@phdru.name>
Thu, 2 Jan 2014 00:21:48 +0000 (04:21 +0400)
committerOleg Broytman <phd@phdru.name>
Thu, 2 Jan 2014 00:21:48 +0000 (04:21 +0400)
.inputrc

index 0e96e0975652e8f5c55d723c375f77ec90c445dc..46877d0efa9e415c74b394bcd4ab6f60dbee3b5e 100644 (file)
--- a/.inputrc
+++ b/.inputrc
@@ -21,6 +21,10 @@ M-Tab: menu-complete
 #"\C-h": backward-delete-char
 #"\e\C-h": backward-kill-word
 
+# PgUp/PgDn
+"\e[5~": history-search-backward
+"\e[6~": history-search-forward
+
 # Debug
 "\C-xf": dump-functions
 "\C-xv": dump-variables