See http://cnswww.cns.cwru.edu/php/chet/readline/readline.html
C-aGo to beginning of lineC-eGo to end of lineM-fGo forward one wordM-bGo back one word
C-dDelete character under cursorC-_/C-x C-uUndoC-x C-eEdit current command line in$EDITOR- Bash provides command
fcto fix last command in editor and run on quit