Notes on the Tables

Emacs commands use the Control key and the Meta key—a system-neutral way to describe a function-changing modifier key. On a Mac, this corresponds to the Option key. (This behavior is set through the Terminal applications’ preferences—see Chapter 18.)

In this chapter, the notation C- indicates that the Control key is pressed at the same time as the character that follows. Similarly, M- indicates the use of the Meta, or Option key on Mac OS X: either hold Option while typing the next character, or press and release the Escape key followed by the next character.

Absolutely Essential Commands

If you’re just getting started with Emacs, here’s a short list of the most important commands to know:

Binding

Action

C-h

Enter the online help system.

C-x C-s

Save the file.

C-x C-c

Exit Emacs.

C-x u

Undo last edit (can be repeated).

C-g

Get out of current command operation.

C-p

Up by one line.

C-n

Down by one line.

C-f

Forward by one character.

C-b

Back by one character.

C-v

Forward by one screen.

M-v

Backward by one screen.

C-s

Search forward for characters.

C-r

Search backward for characters.

C-d

Delete current character.

Del

Delete previous character.

Backspace

Delete previous character.

Get Mac OS X Panther in a Nutshell, 2nd Edition 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.