Repeat Last Ex (@:)
@: replays your last :command. Then @@ repeats again.
@: replays the last Ex command. After running it once, @@ does it again. The same as macro replay โ because Ex history is essentially a macro of one command.
Repeat Last Ex
Most operators have a repeat key (.). Ex commands have their own: @:.
:command| Key | Note |
|---|---|
| {key:@}{key::} | Re-runs the last Ex command |
| {key:@}{key:@} | Repeats whatever @: just ran |
Watch
See also: Command-Line History, Recording and Playing Macros