⛳️ Vim Golf Night! ⛳️
Details
It's Vim Golf night!
We'll mob program through a few holes of Vim Golf together, and hopefully pick up a few new tricks.
What's VimGolf?
We'll work through some challenges on vimgolf.com. Here's how VimGolf works: sign in with Twitter, install the client with RubyGems, run the setup instructions, and input the ID of the challenge you'd like to try. Each challenge begins with a start file and an end file. The goal is to complete the required edits in the least amount of keystrokes.
When you finish a challenge, your solution will be evaluated and your score will be calculated. You can then choose to submit your score to the leaderboard, or try again.
Once you're on the leaderboard, you can see the solutions for the players who finished the challenge in a few keystrokes less than you did. Study their solutions, try again, and move up!
Preparations
If you have a laptop, bring it. Then:
- Sign in with Twitter
- Install the VimGolf CLI
The course
18 holes:
- VimGolfNight (http://vimgolf.com/challenges/521c805d860021000200007d)
- Append semicolon after expressions (http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e)
- Let's play some Ivmgolf (http://vimgolf.com/challenges/50ae009b65b8db0002000047)
- Switch function arguments (http://vimgolf.com/challenges/4fcccb70024f950001000026)
- Stairs indenting (http://vimgolf.com/challenges/508fe9f57acca60002000037)
- Make it more readable (http://vimgolf.com/challenges/4ef209ef78702b0001000019)
- Reverse and double space (http://vimgolf.com/challenges/4fa085222037000001000045)
- Reverse simple deletion (http://vimgolf.com/challenges/4d1db1b8de2f897c2a00014a)
- Alphabetize the directory (http://vimgolf.com/challenges/4e5ec5851836e0000100003e)
- Words in parens (http://vimgolf.com/challenges/5192f96ad8df110002000002)
- Quotes inside quotes (http://vimgolf.com/challenges/51f4a64c6813e30002000018)
- Word frequency alignment (http://vimgolf.com/challenges/50f3c2d55c891f0002000002)
- Nato phonetic alphabet (http://vimgolf.com/challenges/50502d985cfbf50002000022)
