Use set -o emacs to enable the emacs-style editor. The bind Command lists the current key bindings or change the bindings. Some of the more important default bindings are:
^A = beginning-of-line | ^B = backward-char |
^D = eot-or-delete | ^E = end-of-line |
^F = forward-char | ^G = abort |
^K = kill-to-eol | ^L = redraw |
^N = down-history | ^P = up-history |
^R = search-history | ^^ = quote |
^? = delete-char-backward | ^H = delete-char-backward |
^[b = backward-word | ^[d = delete-word-forward |
^[f = forward-word | ^[^H = delete-word-backward |
^[^[ = complete | ^[? = list-command |