5.2.2 Macros and Repetition

Symex includes an advanced command repetition feature, accessible via .. This simply replays your most recent command. This command could even include insertion of text into the buffer, and even the use of completion frameworks during such insertion. . will repeat the command, in all cases.

This feature is similar to Vim’s well-known “dot” command, but in addition, it also maintains a history of recent commands on a “repeat ring,” so after pressing ., you can cycle through recent repetitions using C-.. This ability to repeat recent commands is similar to Evil’s implementation of “dot” which includes the analogous “repeat-pop” feature.

Symex’s repeat feature uses the standalone repeat-ring package and the mantra parsing library. These packages were developed to support Symex, but they enable any package to develop and provide very general and highly customizable repeat functionality.

See Macros for ways to record and repeat longer sequences of commands.