Where is the behaviour of PgUp and PgDown in Bash set?* I absolutely love it, and want to port it to my .bashrc so that I can have it in other distros and environments.
* History-based completion of commands (try it!)

Code: Select all
# History for PgUp & PgDown, from http://lwn.net/Articles/189880/
"\e[5~": history-search-backward
"\e[6~": history-search-forward
# Ins clears the line and SHIFT-Del clears from the cursor to the end
"\e[2~": kill-whole-line
"\e[3;2~": kill-line