Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put [challenge ID]

Played Challenges

Stairstep digits - 426 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #69 / 154
  • Number of attempts: 1
Sort files from hosts - 210 entries

Resume files by host. I hope you enjoy with this challenge

  • Best score: 15
  • Best player score: 18
  • Position: #57 / 80
  • Number of attempts: 1
Change attribute to getter - 182 entries

Wrap attributes with a getter method.

  • Best score: 24
  • Best player score: 24
  • Position: #9 / 67
  • Number of attempts: 1
Align commas - 1134 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 13
  • Position: #109 / 250
  • Number of attempts: 2
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #247 / 1200
  • Number of attempts: 4
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #472 / 4225
  • Number of attempts: 3
Make Fancy Header - 1109 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 17
  • Position: #202 / 356
  • Number of attempts: 2
Sort and add attributes - 1598 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 34
  • Position: #389 / 617
  • Number of attempts: 2
Reconstruct the Sentence - 1754 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 24
  • Position: #335 / 458
  • Number of attempts: 1
Matt Rasmus
Twitter:

entered into 9 challenges

contributed 0 challenges