The BASIC Magic in Vim

I’ve just discovered this by accident: one can make infinite recursive loops in vim. It’s very simple: just record a macro and in that macro apply that macro.

That may seem useless but it’s not: I’m now finally able to port my very first program to vim. The original form was:

20 GOTO 10

In vim: type <ESC> qaoHELLO <ESC> @aq followed by @a.

See Also

Previously: True Color

Next up: Enterprise PHP

The machine thinks that the Web-Log entries Well, that didn't work out so well, Review - PLT Games February 2013, and 26th Ludum Dare - Postmortem might be related to the topic so eloquently discussed above. The machine is sometimes right.