Книга: Learning GNU Emacs, 3rd Edition

Keystroke Notation

Keystroke Notation

Emacs commands consist of a modifier, such as Ctrl or Meta, followed by one or two characters. Commands shown in this book abbreviate Ctrl to C and Meta to M:

C-g

Hold down the Ctrl key and press g.

M-x

Hold down the Meta key and press x.

Sometimes Meta is followed by a literal hyphen character. In these cases, we spell out Meta:

Meta -

Hold down the Meta key and press -.

To complete a command you may need to press Enter. (This key may be labeled Return.)

Enter

Press the Enter key.

Esc

Can be used as an alternative to Meta. Press Esc, release it, then press the next key.

A few mouse commands use the Shift key as a modifier, often in combination with the Ctrl key. This is abbreviated as:

S-right

Hold down Shift and click the right mouse button.

C-S-right

Hold down Shift and Ctrl and click the right mouse button.

All Emacs commands, even the simplest ones, have a full name; for example, forward-word is equivalent to the keystrokes M-f, and forward-char is equivalent to C-f. This tying of a command to a keystroke combination is called a key binding. Some commands have only full names, with no corresponding key binding.

When we discuss a command, we'll give both its full name and the keystrokes (if any) that you can type to invoke it.

Оглавление книги

Оглавление статьи/книги

Генерация: 1.565. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз