We have a
VimLondon organisation on github. It would be cool if we could collaborate as a group to produce something useful for the Vim community. I thought it might be fun if we produced something like the Ruby Koans, but for Vimscript. If you know how to do test-driven development (TDD), then it's amazing how far you can get writing code in a language that you're unfamiliar with. Here's a bit of background...
I was introduced to the idea in this blog post by Mike Clark, who used TDD to teach himself ruby:
The folks at Neo (formerly EdgeCase) took this idea and turned it into an interactive learning experience called Ruby Koans (<3 <3 <3):
The Koan format has been adapted for JavaScript (and probably other languages too):
Read this (short) chapter from Steve Losh's Learn Vimscript the Hard way (LVTHW):
I've put together a short snippet of vspec code that confirms the behaviour described in chapter 22:
For more information on vspec, see episode 50 of Vimcasts:
Here's my suggestion - at our next meetup, we get into groups of 2 or 3 and work through a series of Vimscript problems together. I'll provide an outline of suggested problems to tackle, with links to chapters in LVTHW or references to Vim's built-in documentation to get you started. If you're completely new to Vimscript, you can pick the earlier problems. If you know enough to be dangerous, you can pick the later problems. We'll create a github repository under the VimLondon organization and at the end of the session everyone can push their experiments. Together, we can create a living repository of knowledge about Vimscript.
Shall we give it a shot?
Drew