If you're a VI user, you can use VI line-edit mode on the comand line. To set this up, type:
$ set -o vi
Now you can use standard VI commands to browse the command history, and edit the command (for example, ESC-k to go to the last command, / to search through the command history etc).
This...