Today I Learned

A Hashrocket project

Repeat Last Command Mode Command in Vim ♻️

To repeat your last Vim command mode command, use the @ register.

@:

After doing this once, continue to call the command with @@. A use case would be continuing to expand a pane in increments of two via :resize +2.

Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.