<type>documentation</type>
<domain>edit</domain>
<id>keyboard-macros</id>
<title>Keyboard Macros</title>
<date>$Date$</date>
<version>$Revision$</version>
<product>per+</product>

``Start Macro Record`` in the ``Edit`` menu starts the definition of a new keyboard macro.
Once macro recording is started, any keystroke or editor command is recorded as part of
that macro, until macro recording is stopped with ``Stop Macro Record`` in the
``Edit`` menu. Most commands may be included in macros, as well as all character
insertions and deletions.

Using the operations under ``Mini-search`` in the ``Edit`` menu combined with cursor 
movements and edits allows for the creation of macros that can be applied repeatedly
to code with ``Execute Macro`` in the ``Edit`` menu.

Keyboard macros are also supported by the native bindings emulated by `keyboard
personalities <ref:custom/keyboard-personalities>`__ like ``Emacs``, ``VI/Vim``,
``Visual Studio``, and ``Brief``.

