> For the complete documentation index, see [llms.txt](https://woodrowpearson.gitbook.io/code-gists/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://woodrowpearson.gitbook.io/code-gists/bash/keyboard-macros-bash-reference-manual.md).

# Keyboard Macros (Bash Reference Manual)

`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.
