start-kbd-macro (C-x () Begin saving the characters typed into the current keyboard macro.
end-kbd-macro (C-x )) Stop saving the characters typed into the current keyboard macro and save the definition.
call-last-kbd-macro (C-x e) Re-execute the last keyboard macro defined, by making the characters in the macro appear as if typed at the keyboard.
print-last-kbd-macro () Print the last keboard macro defined in a format suitable for the inputrc file.
Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.
https://www.gnu.org/software/bash/manual/html_node/Keyboard-Macros.html