walkner.info /articles /Macosx Terminal Keys
Here is a list of keymappings for usage in the MacOSX Terminal.app: Taken from http://www.xrings.net/xrings/article.php3?id_article=188
Standard key bindings
"^@"           ->  set-mark-command
"^A"           ->  beginning-of-line
"^B"           ->  backward-char
"^C"           ->  tty-sigintr
"^D"           ->  delete-char-or-list-or-eof
"^E"           ->  end-of-line
"^F"           ->  forward-char
"^G"           ->  is undefined
"^H"           ->  backward-delete-char
"^I"           ->  complete-word
"^J"           ->  newline
"^K"           ->  kill-line
"^L"           ->  clear-screen
"^M"           ->  newline
"^N"           ->  down-history
"^O"           ->  tty-flush-output
"^P"           ->  up-history
"^Q"           ->  tty-start-output
"^R"           ->  i-search-back
"^S"           ->  tty-stop-output
"^T"           ->  transpose-chars
"^U"           ->  kill-whole-line
"^V"           ->  quoted-insert
"^W"           ->  kill-region
"^X"           ->  sequence-lead-in
"^Y"           ->  yank
"^Z"           ->  tty-sigtsusp
"^["           ->  sequence-lead-in
"^\"           ->  tty-sigquit
"^]"           ->  tty-dsusp
" "  to "/"    ->  self-insert-command
"0"  to "9"    ->  digit
":"  to "~"    ->  self-insert-command
"^?"           ->  backward-delete-char
"^Ä"           ->  list-choices
"^È"           ->  backward-delete-word
"^É"           ->  complete-word
"^Ì"           ->  clear-screen
"^Ú"           ->  run-fg-editor
"^Û"           ->  complete-word
"^ß"           ->  copy-prev-word
Alternative key bindings
Multi-character bindings
"^[[A"         -> up-history
"^[[B"         -> down-history
"^[[C"         -> forward-char
"^[[D"         -> backward-char
"^[[H"         -> beginning-of-line
"^[[F"         -> end-of-line
"^[OA"         -> up-history
"^[OB"         -> down-history
"^[OC"         -> forward-char
"^[OD"         -> backward-char
"^[OH"         -> beginning-of-line
"^[OF"         -> end-of-line
"^[^D"         -> list-choices
"^[^H"         -> backward-delete-word
"^[^I"         -> complete-word
"^[^L"         -> clear-screen
"^[^Z"         -> run-fg-editor
"^[^["         -> complete-word
"^[^_"         -> copy-prev-word
"^[ "          -> expand-history
"^[!"          -> expand-history
"^[$"          -> spell-line
"^[/"          -> dabbrev-expand
"^[0"          -> digit-argument
"^[1"          -> digit-argument
"^[2"          -> digit-argument
"^[3"          -> digit-argument
"^[4"          -> digit-argument
"^[5"          -> digit-argument
"^[6"          -> digit-argument
"^[7"          -> digit-argument
"^[8"          -> digit-argument
"^[9"          -> digit-argument
"^[?"          -> which-command
"^[B"          -> backward-word
"^[C"          -> capitalize-word
"^[D"          -> delete-word
"^[F"          -> forward-word
"^[H"          -> run-help
"^[L"          -> downcase-word
"^[N"          -> history-search-forward
"^[P"          -> history-search-backward
"^[R"          -> toggle-literal-history
"^[S"          -> spell-word
"^[U"          -> upcase-word
"^[W"          -> copy-region-as-kill
"^[_"          -> insert-last-word
"^[b"          -> backward-word
"^[c"          -> capitalize-word
"^[d"          -> delete-word
"^[f"          -> forward-word
"^[h"          -> run-help
"^[l"          -> downcase-word
"^[n"          -> history-search-forward
"^[p"          -> history-search-backward
"^[r"          -> toggle-literal-history
"^[s"          -> spell-word
"^[u"          -> upcase-word
"^[w"          -> copy-region-as-kill
"^[^?"         -> backward-delete-word
"^X^X"         -> exchange-point-and-mark
"^X*"          -> expand-glob
"^X$"          -> expand-variables
"^XG"          -> list-glob
"^Xg"          -> list-glob
"^Xn"          -> normalize-path
"^XN"          -> normalize-path
"^X?"          -> normalize-command
"^X^I"         -> complete-word-raw
"^X^D"         -> list-choices-raw
Arrow key bindings
down           -> down-history
up             -> up-history
left           -> backward-char
right          -> forward-char
home           -> beginning-of-line
end            -> end-of-line
© 2007 Stefan Walkner
Made on a MacBook