Summary
Keys for the emacs Editor. Memorize the keys!
Basics
| Action (memorize) | Shortcuts (memorize) |
| Quit | C-x C-c |
| Open File | C-x C-f |
| Save | C-x C-s |
| Undo | C-/ |
| Search (incremental) | C-s (then start typing search string) |
More
| Question (memorize) | Answer (memorize) |
| Help (tutorial) | C-h t |
| Help (other options) | C-h ? |
| Switch to buffer (or file) | C-x b tab (then start typing name and press tab again) |
| Close buffer | C-x k enter |
| Cancel current command | C-g |
Memorize together
Misc
Cursor movement
The arrow keys can be used to move the cursor. Optionally, you can use the following keys to move the cursor as well.
| Question (memorize) | Answer (memorize) |
| back (left) | C-b |
| forward (right) | C-f |
| previous line (up) | C-p |
| next line (down) | C-n |
| beginning of line | C-a |
| end of line | C-e |
More
Keys to navigate the file or terminal in addition to using the arrow keys.
| Question (memorize) | Answer (memorize) |
| forward word | M-f |
| backward word | M-b |
| page down | C-v |
| page up | M-v |
| beginning of file | M-< |
| end of file | M-> |
More
| Question (memorize) | Answer (memorize) |
| View current dir | C-x C-f . enter |
| Split window | C-x 2 |
| Jump to next window | C-x o |
| Close frame | C-x 0 |
| Expand frame | C-x 1 |
Memorize together
Add a section to this page!
- Click this button to contribute to this page (by adding a section here).
♦
Feel free to experiment. Your edits won't immediately show up to everyone.