In a C-shell, (tcsh, zsh, csh), a built-in command called bindkey
will display all the bindings for various navigation and selection shortcuts. While the command does not exist in the other shells, at least several bindings work in /bin/bash and /bin/sh that I've tested.
If bindkeys
gives you a "command not found" error, enter tcsh
, and try again at the new prompt. You can redirect the output from bindkey to a file which you can reference later. Once you're finished with tcsh, type exit
and you'll go back to your regular command line shell.
Many of the bindings listed also work in TextEdit.app, or on the URL bar of web browsers.
Note that ^
means Ctrl, and ^]
means Esc. Not all of the key bindings are applicable in every application.
Found it: https://github.com/walter/additional-mac-os-x-emacs-key-bindings/blob/master/DefaultKeyBinding.dict
– Justin Thomas – 2013-04-07T17:19:00.627if you found an appropriate answer, consider adding it as an answer rather than a comment. – Lorenzo Von Matterhorn – 2013-04-07T17:43:38.900
You can also use KeyRemap4MacBook: http://apple.stackexchange.com/questions/68716/emacsify-osx-throughout-word-forward-f-and-word-backward-b-instead/71087#71087
– Lri – 2013-04-09T07:50:46.077