Heh. I've done this since forever, but I use PgUp and PgDn so I can retain the original meaning of the up arrow key.

When I was on ubuntu it was easy to uncomment a couple lines in /etc/inputrc for this