Control-Key Sequences

Keystrokes

Command name

Description

C-@

set-mark-command

Mark the beginning (or end) of a region.

C-Space

(same as previous)

 

C-]

(none)

Exit recursive edit and exit query-replace.

C-a

beginning-of-line

Move to beginning of line.

C-b

backward-char

Move backward one character (left).

C-c C-c

comint-interrupt-subjob

Terminate the current job.

C-c C-d

comint-send-eof

End-of-file character.

C-c C-u

comint-kill-input

Erase current line.

C-c C-w

backward-kill-word

Erase the previous word.

C-c C-z

comint-stop-subjob

Suspend the current job.

C-d

delete-char

Delete character under cursor.

C-e

end-of-line

Move to end of line.

C-f

forward-char

Move forward one character (right).

C-g

keyboard-quit

Abort current command.

C-h

help-command

Enter the online help system.

C-h a

command-apropos

What commands involve this concept?

C-h b

describe-bindings

What are all the key bindings for this buffer?

C-h C-c

describe-copying

View the emacs General Public License.

C-h C-d

describe-distribution

View information on ordering emacs from FSF.

C-h C-w

describe-no-warranty

View the (non-)warranty for emacs.

C-h c

describe-key-briefly

What command does this keystroke sequence run?

C-h f

describe-function

What does this function do?

C-h i

info

Start the Info documentation reader.

C-h k

describe-key

What command does this keystroke sequence run, and what does it do?

C-h l

view-lossage

What are the last 100 characters ...

Get Unix in a Nutshell, 4th 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.