Today I Learned

hashrocket A Hashrocket project

Access Last Executed Vim Macro

I love Vim macros. They can be a huge time-saver.

Today I learned a new way to access them: @@.

We can access any macro with @<letter>, where <letter> is the macro you've assigned.

@@ accesses your last executed macro. This is useful when you have assigned multiple macros.

h/t David Colgan

See More #vim TILs
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.