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 - 227 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Number of attempts: 1
Change attribute to getter - 97 entries

Wrap attributes with a getter method.

  • Best score: 24
  • Best player score: 24
  • Number of attempts: 1
Sort files from hosts - 137 entries

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

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 1
Align commas - 957 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
  • Number of attempts: 2
Collect List - 4059 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
I forgot quotes - 15244 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
Make Fancy Header - 929 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 2
Reconstruct the Sentence - 1042 entries

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

  • Best score: 20
  • Best player score: 24
  • Number of attempts: 1
Sort and add attributes - 1113 entries

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

  • Best score: 33
  • Best player score: 34
  • Number of attempts: 2
Matt Rasmus
Twitter:

entered into 9 challenges

contributed 0 challenges