I want to record a macro, which generates a formatted text that includes a number. I want the number to be counted up whenever the macro is invoked.
For example:
abc 1 def
abc 2 def
abc 3 def
Can I do that?
Vim's version is 7.0. OS is CentOS 6.