Created
October 22, 2014 02:13
-
-
Save jclosure/5c197f0dc0c33960179c to your computer and use it in GitHub Desktop.
Discover Your Keybindings In Emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
An extremely useful thing to know in emacs is how to discover what keys are bound to which commands on your own. | |
If you know the name of the command -- goto-line. If you type 'C-h w' (Control+h and then w), Emacs will as you "Where is command: ". Type goto-line and hit enter, and it will tell you what keystrokes (if any) are bound to that command. | |
There are a bunch more similar features. 'C-h k' does the inverse -- asks you for a keystroke and then tells you the command it runs; 'C-h b' shows all current keybindings; 'C-h a' will search for a string, so you might type 'C-h a goto' to search for commands with "goto" in the name; 'C-h v' describes variables; 'C-h f' describes functions; etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment