Meta-Key Sequences

Keystrokes

Command name

Description

Meta

(none)

Exit a query-replace or successful search.

M- - M-c

negative-argument; capitalize-word

Capitalize previous word.

M- - M-l

negative-argument; downcase-word

Lowercase previous word.

M- - M-u

negative-argument; upcase-word

Uppercase previous word.

M-$

spell-word

Check spelling of word after cursor.

M-<

beginning-of-buffer

Move to beginning of file.

M->

end-of-buffer

Move to end of file.

M-{

backward-paragraph

Move backward one paragraph.

M-}

forward-paragraph

Move forward one paragraph.

M-^

delete-indentation

Join this line to the previous one.

M-n

digit-argument

Repeat the next command n times.

M-n C-x e

digit-argument and call-last-kbd-macro

Execute the last defined macro n times.

M-a

backward-sentence

Move backward one sentence.

M-b

backward-word

Move one word backward.

M-c

capitalize-word

Capitalize first letter of word.

M-d

kill-word

Delete word that cursor is on.

M-DEL

backward-kill-word

Delete previous word.

M-e

forward-sentence

Move forward one sentence.

M-f

forward-word

Move one word forward.

M-g g or M-g M-g

goto-line

Go to line n of file.

M-h

mark-paragraph

Mark paragraph.

M-k

kill-sentence

Delete sentence the cursor is on.

M-l

downcase-word

Lowercase word.

M-m

back-to-indentation

Move cursor to first nonblank character on line.

M-q

fill-paragraph

Reformat paragraph.

M-s

center-line

Center line that cursor is on.

M-S

cemter-paragraph

Center paragraph that cursor is on.

M-t

transpose-words

Transpose two words.

M-u

upcase-word

Uppercase word.

M-v

scroll-down

Move backward one screen.

M-x

(none)

Access ...

Get Linux in a Nutshell, 6th 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.