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

Search and Replace 0 - 4676 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 21
  • Position: #1435 / 1549
  • Number of attempts: 1
Line Zipper - 443 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 18
  • Position: #196 / 206
  • Number of attempts: 1
Alphabetize the directory - 269 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 31
  • Position: #15 / 97
  • Number of attempts: 3
The holy-grail may help - 322 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 17
  • Position: #161 / 196
  • Number of attempts: 2
Ruby 1.9 compat - 597 entries

Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!

  • Best score: 14
  • Best player score: 15
  • Position: #95 / 226
  • Number of attempts: 2
Change the content of a string - 1350 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 32
  • Position: #489 / 521
  • Number of attempts: 1
Simple text editing with Vim - 11657 entries

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

  • Best score: 13
  • Best player score: 25
  • Position: #2909 / 3418
  • Number of attempts: 2
Tyler Wymer
Twitter:

Aspiring web developer. Rookie Rubyist. Vim wizard. Unix lover. Cyclist. Software Artisan at @EdgeCase. Co-organizer of @VimCbus.

entered into 7 challenges

contributed 0 challenges