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

Python Hello World! Reformatting - 879 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 47
  • Position: #281 / 339
  • Number of attempts: 1
Ruby 1.9 hashes - 1113 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 15
  • Position: #228 / 372
  • Number of attempts: 1
Reverse and count - 403 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 36
  • Position: #141 / 153
  • Number of attempts: 1
Reverse Simple Deletion - 740 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #106 / 419
  • Number of attempts: 3
Increment, increment, increment.... - 532 entries

Vim likes macros

  • Best score: 10
  • Best player score: 13
  • Position: #333 / 358
  • Number of attempts: 2
Hatsuyume - 368 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 16
  • Best player score: 33
  • Position: #115 / 154
  • Number of attempts: 1
The Cake is a Lie - 1174 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #60 / 479
  • Number of attempts: 3
Context insensitive completion 0 - 462 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 6
  • Best player score: 13
  • Position: #209 / 217
  • Number of attempts: 3
Context Insensitive completion 1 - 405 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 39
  • Position: #204 / 212
  • Number of attempts: 1
Almost encrypted - 178 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 6
  • Position: #122 / 134
  • Number of attempts: 1
Make Fancy Header - 929 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 22
  • Position: #246 / 313
  • Number of attempts: 2
Reverse characters in a line - 615 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 27
  • Position: #202 / 226
  • Number of attempts: 1
Change the content of a string - 1286 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 29
  • Position: #437 / 498
  • Number of attempts: 1
Simple text editing with Vim - 11391 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 20
  • Position: #2503 / 3347
  • Number of attempts: 1
Joe Hassick
Twitter:

Web 13.37

entered into 14 challenges

contributed 0 challenges