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

Make Fancy Header - 928 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 22
  • Number of attempts: 2
Context insensitive completion 0 - 450 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
  • Number of attempts: 3
Simple text editing with Vim - 11003 entries

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

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 1
Reverse Simple Deletion - 732 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
The Cake is a Lie - 1151 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
Context Insensitive completion 1 - 397 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 39
  • Number of attempts: 1
Change the content of a string - 1265 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 29
  • Number of attempts: 1
Ruby 1.9 hashes - 1101 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
  • Number of attempts: 1
Increment, increment, increment.... - 507 entries

Vim likes macros

  • Best score: 10
  • Best player score: 13
  • Number of attempts: 2
Reverse and count - 382 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
  • Number of attempts: 1
Reverse characters in a line - 601 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
  • Number of attempts: 1
Python Hello World! Reformatting - 857 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
  • Number of attempts: 1
Hatsuyume - 367 entries

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

  • Best score: 16
  • Best player score: 33
  • Number of attempts: 1
Almost encrypted - 165 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 6
  • Number of attempts: 1
Joe Hassick
Twitter:

Web 13.37

entered into 14 challenges

contributed 0 challenges