Any shell or hack that makes the shell command line take vi commands?

basically i'm tired of hitting the left arrow a few dozen times when correcting a mistake or modifying a history command

i'd like to use vim style key shortcuts while on the command line so that a 55[left arrow key] moves the cursor 55 places to the left...

and i want all the other vi goodies, search of history maybe - a dream?, replace, etc

In ksh/bash use the following at the command line (or in ~/.profile or ~/.bash_profile):

set -o vi

If your on linux, Mac OS, *BSD you can put the following in ~/.inputrc (or /etc/inputrc for system wide), this will work for most command line programs that use the readline library (eg ftp, bash, etc).

set editing-mode vi
#ksh -o vi

See "Korn shell history editing"on this page:
Recalling and editing previous commands