Vim Macros

q<letter>Start recording a macro that can be referenced by <letter>
qStop recording
@<letter>Execute macro <letter>
@@Execute the last-executed macro

  • This is great, and much easier than I expected. This is literally as easy as macro functionality in Emacs (C-x 0, etc.)
  • . doesn’t appear to work to execute the last macro, and @@ is a tiny bit awkward.