addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

VimGolf night #3

Back by popular demand: it's Vim Golf night! We'll split up into groups of two or three, and work through a few holes of Vim Golf together. At the end, we'll compare notes, and hopefully pick up a few new tricks.

What's VimGolf?

We'll work through some challenges from (9 holes anyone?). Here's how it works: you create an account on the site and install the vimgolf client. Each challenge features a start file and an end file. Your objective is to use Vim to transform the start file to match the end file, using as few keystrokes as possible. When you're done, write the file and quit Vim (hint: :x is shorter than :wq, but ZZis best).

If you make a mistake, the vimgolf client will show you a diff of your solution against the end file, which reveals where you went wrong. If you get it right, the vimgolf client will ask you if you want to submit your solution to the leaderboard for that challenge. Do it! Then you can view some of the solutions that beat yours. Take notes, and try again. That way you can climb the leaderboard. Watch out. It's addictive!


If you have a laptop, bring it. Get set up by running these steps:

create an account at

 (requires sign-in via Twitter)install and configure the vimgolf client

We'll team up into groups of 2-3. I recommend using one laptop per team, and working through the exercises as though you were pair-programming. That is: one person drives and the other navigates. Take it in turns. Swap often. That way, you'll solve the problems by working together.

Join or login to comment.

  • Gary S

    Apologies for my lack of attendance too. I didn't get out of training until 6.30 and being based so far away, I was not able to make it :(

    June 26, 2014

  • Jon R.

    It was "en petit comité", but enjoyable as usual. I also get my batch of new tricks learned!

    June 25, 2014

  • A former member
    A former member

    Sorry I wasn't able to come. There was a police thing near canonbury and it took way too long for me to nitice that the bus would never come :(

    June 24, 2014

15 went

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy