1.2. Emacs Commands

Emacs commands consist of a modifier, such as CTRL (CONTROL) or ESC (ESCAPE), followed by one or two characters. Commands shown in this book abbreviate CTRL to C:

C-g

Hold down the CTRL key and press g.

Most Emacs manuals refer to the META key in addition to the CTRL key. Since most keyboards don't have a META key, this book refers to ESC instead of META:

ESC x

Press ESC, release it, then press x.

It is entirely possible that your keyboard has a META key. On many keyboards, the ALT keys function as the META key. If your keyboard does have a META key, it works like the CTRL key described here—that is, you hold down the META key and press the desired key, such as g.

Get GNU Emacs Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.