|
Updated
2007-05-23 23:35
Summary
Keys for the emacs Editor. Memorize the keys!
Basics
| Action | Shortcuts |
| 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) |
| memorize |
More
| Question | Answer |
| 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 |
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 | Answer |
| 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 |
| memorize |
More
Keys to navigate the file or terminal in addition to using the arrow keys.
| Question | Answer |
| forward word | M-f |
| backward word | M-b |
| page down | C-v |
| page up | M-v |
| beginning of file | M-< |
| end of file | M-> |
| memorize |
More
| Question | Answer |
| 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 |
|
|
|
| |