Macro Commands
|
Binding |
Command |
Action |
|
C-x ( |
start-kbd-macro |
Start macro definition. |
|
C-x ) |
end-kbd-macro |
End macro definition. |
|
C-x e |
call-last-kbd-macro |
Execute last macro defined. |
|
M-n C-x e |
digit-argument and call-last-kbd-macro |
Execute last macro defined n times. |
|
C-u C-x ( |
start-kbd-macro |
Execute last macro defined, then add keystrokes. |
|
(none) |
name-last-kbd-macro |
Name last macro you created (before saving it). |
|
(none) |
insert-last-keyboard- macro |
Insert the macro you named into a file. |
|
(none) |
load-file |
Load macro files you’ve saved. |
|
(none) |
macroname |
Execute a keyboard macro you’ve saved. |
|
C-x q |
kbd-macro-query |
Insert a query in a macro definition. |
|
C-u C-x q |
(none) |
Insert a recursive edit in a macro definition. |
|
M-C-c |
exit-recursive-edit |
Exit a recursive edit. |
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