Emacs: How to Insert an Increasing Number in a Macro

Rating: 5

Press C-x C-k TAB while recording a macro.

Bonus Fact
  • See also the link for how to start at custom offsets.
More Info