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

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

  • Best score: 12
  • Best player score: 21
  • Position: #1497 / 1615
  • Number of attempts: 1
Line Zipper - 471 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 18
  • Position: #201 / 213
  • Number of attempts: 1
Alphabetize the directory - 298 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 31
  • Position: #18 / 101
  • Number of attempts: 3
The holy-grail may help - 362 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #168 / 208
  • Number of attempts: 2
Ruby 1.9 compat - 624 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: #100 / 232
  • Number of attempts: 2
Change the content of a string - 1541 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 32
  • Position: #540 / 577
  • Number of attempts: 1
Simple text editing with Vim - 12627 entries

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

  • Best score: 13
  • Best player score: 25
  • Position: #3088 / 3653
  • 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