Keyboard Macros (Bash Reference Manual)
From Get docs
Bash/docs/latest/Keyboard-Macros
Next: Miscellaneous Commands, Previous: Commands For Completion, Up: Bindable Readline Commands [Contents][Index]
8.4.7 Keyboard Macros
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
inputrcfile.