So, there I was, trying to remember the idea I had gotten for a blog post. Some snippet or other of jQuery or PHP had been floating through my head recently and I was sure it was going to win me the Pulitzer Prize For Technical Blogging. Except, as with most great ideas, I assumed that I would remember it and didn’t write it down. It was, after all, the Greatest Idea EVAR!

Seeing as how I was boneheaded and had forgotten it completely, I started casting around for another idea, and that was when it hit me. What better thing to code when my memory is failing me, than the classic ‘Memory Game’?! So, armed with Yet Another Great Idea, I dove into vim to make the magic happen.

It must be noted that I did hit a huge roadblock right in the middle of the development of this, and I have to thank Ryan Neufeld for looking at the problem with fresh eyes and handing me an elegant solution for something I was doing with the DOM.

Brief explanation of the plugin, after the jump…

(more…)