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 vimgolf.com (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!

Preparations

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

create an account at 

vimgolf.com

 (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

    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

  • Attila Szeremi (.

    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:

Imagine having a community behind you

Get started Learn more
Bill

I started the group because there wasn't any other type of group like this. I've met some great folks in the group who have become close friends and have also met some amazing business owners.

Bill, started New York City Gay Craft Beer Lovers

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