I want to use the function to switch to other window when there are only 2 windows in emacs. I know that the shortcut is
C-x o, but I don't know which function that shortcut calls.
How do I determine the mapping between shortcut and function?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
describe-key command (
C-h k) will tell you what command is bound to a given key sequence. To go the other way and find out what keys (if any) are bound to a command, use
You can list all available key bindings using
As of Emacs 25, you can also use
C-h l) to see the recent history of every key typed and the corresponding commands that were executed.
You'll notice these commands are all bound to the help map (
C-h). You might want to try
C-h C-h to see all the available help commands.