Conway's Game of Vim

Seriously, do you ever shut up about macros?

At the risk of making it seem like ALL I care about is macros (should’ve registered, here’s another post about macros!

A while after I wrote my Fibonacci macro, but before I started Normal Mode, I wrote a macro to play Conway’s Game of Life. It’s better1 than the other implementations you’ve seen because it doesn’t use any ex commands and it doesn’t use the expression register: it’s just plain old normal mode commands, typed into a text file.

I originally published it on my personal site, but now I have a site entirely dedicated to Vim!

So now it’s hosted here.

  1. By “better”, I apparently mean, “more masochistic”? ↩︎