The Emacs Tour is a better introduction than the tutorial.
Useful minor modes: Imenu and Recentf.
In text mode, F10 opens the application menu.
| Key | Action |
|---|---|
C-x C-f |
Visit file |
C-x C-s |
Save file |
C-x C-w |
Save as… |
C-x C-c |
Quit Emacs |
C-z sends Emacs to the background even on the desktop. Don't panic!
| Key | Action | Remarks |
|---|---|---|
C-g |
Cancel action | Works in pretty much any context. |
C-u |
Universal argument | Can be prefixed to most key combos. |
Tip: M-= shows a word count for the current region / selection.
| Key | Action |
|---|---|
C-x u |
Undo |
C-SPC |
Set mark |
C-w |
Cut |
M-w |
Copy |
C-y |
Paste |
| Key | Action |
|---|---|
C-a |
Start of line |
C-e |
End of line |
M-f |
1 word forward |
M-b |
1 word backward |
C-s |
Search forward |
C-r |
Search backward |
C-o |
Open line |
C-k |
Cut line |
| Key | Action |
|---|---|
C-x 0 |
Close this window |
C-x 1 |
Close other windows |
C-x o |
Go to next window |
C-x b |
Switch to buffer… |
C-x k |
Close named buffer |
| Key | Action |
|---|---|
C-RET |
Add headline below |
M-RET |
Add headline here |
M-<left> |
Promote headline |
M-<right> |
Demote headline |
TAB |
Cycle visibility |
S-TAB |
Global visibility |
C-' |
Cycle agenda files |
C-c C-t cycles to do / done status.
| Key | Action |
|---|---|
C-c . | insert active timestamp |
C-c ! | insert inactive timestamp |
Note: timestamps can be placed in headings just fine.
| Key | Action | Remarks |
|---|---|---|
C-c C-r |
Reveal context | |
C-c C-l |
Add / edit link | Prompts for target and label. |
C-c C-o |
Follow link | |
C-c C-e |
Open export dialog | Follow the prompts to finish. |
C-c C-c |
Align table |
C-c C-c has many other uses, such as backing out of Sparse Tree view.