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-/ |
dabbrev-expand |
Expand to the most recent preceding word. |
|
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. |
|
(none) |
fill-region |
Reformat individual paragraphs within a region. |
|
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 ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access