#!/bin/sh

"\C-n": next-history
"\C-p": previous-history
"\C-r": reverse-search-history
"\C-s": forward-search-history
"\C-x\C-a": history-and-alias-expand-line
"\e<": beginning-of-history
"\e>": end-of-history
"\eOA": previous-history
"\eOB": next-history
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e\C-i": dynamic-complete-history
"\e^": history-expand-line
"\en": non-incremental-forward-search-history
"\ep": non-incremental-reverse-search-history
# non-incremental-forward-search-history-again (not bound)
# non-incremental-reverse-search-history-again (not bound)
# vi-fetch-history (not bound)

# set -o emacs
# "\C-?": backward-delete-char
# "\C-@": set-mark
# "\C-]": character-search
# "\C-_": undo
# "\C-a": beginning-of-line
# "\C-b": backward-char
# "\C-d": delete-char
# "\C-e": end-of-line
# "\C-f": forward-char
# "\C-g": abort
# "\C-h": backward-delete-char
# "\C-i": complete
# "\C-j": accept-line
# "\C-k": kill-line
# "\C-l": clear-screen
# "\C-m": accept-line
# "\C-n": next-history
# "\C-o": operate-and-get-next
# "\C-p": previous-history
# "\C-q": quoted-insert
# "\C-r": reverse-search-history
# "\C-s": forward-search-history
# "\C-t": transpose-chars
# "\C-u": unix-line-discard
# "\C-v": quoted-insert
# "\C-w": unix-word-rubout
# "\C-x!": possible-command-completions
# "\C-x$": possible-variable-completions
# "\C-x(": start-kbd-macro
# "\C-x)": end-kbd-macro
# "\C-x*": glob-expand-word
# "\C-x/": possible-filename-completions
# "\C-x@": possible-hostname-completions
# "\C-x\C-?": backward-kill-line
# "\C-x\C-e": edit-and-execute-command
# "\C-x\C-g": abort
# "\C-x\C-r": re-read-init-file
# "\C-x\C-u": undo
# "\C-x\C-v": display-shell-version
# "\C-x\C-x": exchange-point-and-mark
# "\C-xe": call-last-kbd-macro
# "\C-xg": glob-list-expansions
# "\C-x~": possible-username-completions
# "\C-y": yank
# "\e ": set-mark
# "\e!": complete-command
# "\e#": insert-comment
# "\e$": complete-variable
# "\e&": tilde-expand
# "\e*": insert-completions
# "\e-": digit-argument
# "\e.": insert-last-argument
# "\e.": yank-last-arg
# "\e/": complete-filename
# "\e0": digit-argument
# "\e1": digit-argument
# "\e2": digit-argument
# "\e3": digit-argument
# "\e4": digit-argument
# "\e5": digit-argument
# "\e6": digit-argument
# "\e7": digit-argument
# "\e8": digit-argument
# "\e9": digit-argument
# "\e<": beginning-of-history
# "\e=": possible-completions
# "\e>": end-of-history
# "\e?": possible-completions
# "\e@": complete-hostname
# "\eOA": previous-history
# "\eOB": next-history
# "\eOC": forward-char
# "\eOD": backward-char
# "\eOF": end-of-line
# "\eOH": beginning-of-line
# "\e[3~": delete-char
# "\e[A": previous-history
# "\e[B": next-history
# "\e[C": forward-char
# "\e[D": backward-char
# "\e[F": end-of-line
# "\e[H": beginning-of-line
# "\e\C-?": backward-kill-word
# "\e\C-]": character-search-backward
# "\e\C-e": shell-expand-line
# "\e\C-g": abort
# "\e\C-h": backward-kill-word
# "\e\C-i": dynamic-complete-history
# "\e\C-r": revert-line
# "\e\C-y": yank-nth-arg
# "\e\\": delete-horizontal-space
# "\e\e": complete
# "\e^": history-expand-line
# "\e_": insert-last-argument
# "\e_": yank-last-arg
# "\eb": backward-word
# "\ec": capitalize-word
# "\ed": kill-word
# "\ef": forward-word
# "\eg": glob-complete-word
# "\el": downcase-word
# "\en": non-incremental-forward-search-history
# "\ep": non-incremental-reverse-search-history
# "\er": revert-line
# "\et": transpose-words
# "\eu": upcase-word
# "\ey": yank-pop
# "\e{": complete-into-braces
# "\e~": complete-username

# set -o vi
# "\C-?": backward-delete-char
# "\C-d": vi-eof-maybe
# "\C-h": backward-delete-char
# "\C-i": complete
# "\C-j": accept-line
# "\C-m": accept-line
# "\C-r": reverse-search-history
# "\C-s": forward-search-history
# "\C-t": transpose-chars
# "\C-u": unix-line-discard
# "\C-v": quoted-insert
# "\C-w": unix-word-rubout
# "\C-y": yank
# "\e": vi-movement-mode
# "\eOA": previous-history
# "\eOB": next-history
# "\eOC": forward-char
# "\eOD": backward-char
# "\eOF": end-of-line
# "\eOH": beginning-of-line
# "\e[3~": delete-char
# "\e[A": previous-history
# "\e[B": next-history
# "\e[C": forward-char
# "\e[D": backward-char
# "\e[F": end-of-line
# "\e[H": beginning-of-line
