Here's a list of keystrokes/commands you can do: http://ss64.com/bash/syntax-keyboard.html
How can I enable the built in 'undo' action of bash?
What do I have to put into my /etc/inputrc file?
From the BASH manual:
Edit, I've remapped it to Alt-Left:undo (C-_ or C-x C-u)
Incremental undo, separately remembered for each line.
Code: Select all
#re-map 'undo' to Alt-Left
"\e[1;3D": undo