See http://cnswww.cns.cwru.edu/php/chet/readline/readline.html
C-a
Go to beginning of lineC-e
Go to end of lineM-f
Go forward one wordM-b
Go back one word
C-d
Delete character under cursorC-_
/C-x C-u
UndoC-x C-e
Edit current command line in$EDITOR
- Bash provides command
fc
to fix last command in editor and run on quit