+1
Could you also add the other readline(3) shortcuts, such as:
Ctrl-u Delete from current cursor position to beginning of line
Alt-f Move cursor forward one word
Alt-b Move cursor back one word
I know the history searching may be more difficult to implement, but it would be nice to have:
Ctrl-r Search backwards through history (press Ctrl-r, enter search text, Ctrl-r to find next, Alt-> to return to what you were doing, meaning to be able to enter a new command)
Alt-> Move to current line being entered
Ctrl-s Search forwards through history
Full list in the readline man page
http://linux.die.net/man/3/readline, although they use the notation C-r to indicate Ctrl-r and M-d to indicate Alt-d (m=meta)