bind -p | grep -v '^#\|self-insert\|^$'
Ctrl + r (search history)
Ctrl + g (escape from history searching mode)
Alt + . (use the last word of the previous command)
Alt + r (undo the changes)
Ctrl + x Ctrl + e (open command editor)
Ctrl + a (beginning of the line)
Ctrl + e (end of the line)
Alt + f (forward (right) one word)
Alt + b (backward (left) one word)
Ctrl + xx (toggle between the start of line and current cursor position)
Ctrl + k (cut from cursor to the end of the command line)
Ctrl + u (cut from cursor to the start of the command line)
Ctrl + w (cut backwards one word)
Alt + Del (delete the word before the cursor)
Alt + d (delete the word after the cursor)
Ctrl + y (paste word or text that was cut using one of the deletion shortcuts)
!! (run last command)
!blah (run the most recent command that starts with "blah")
!blah:p (print out the most recent command that starts with "blah")
!:0 (command of the last line)
!$ (the last argument of the last line)
!^ (the first argument of the last line after command)
!* (all arguments of the last line except command)
!:n* (nth to last arguments of the last line except command)
!:n (nth argument of the last line)
!:n-m (n-mth arguments of the last line)