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

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

  • Best score: 12
  • Best player score: 14
  • Position: #866 / 1550
  • Number of attempts: 3
A Simple One - 934 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #187 / 617
  • 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: 19
  • Position: #185 / 226
  • Number of attempts: 1
Reverse Simple Deletion - 772 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 15
  • Position: #393 / 432
  • Number of attempts: 1
Context insensitive completion 0 - 474 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: 7
  • Best player score: 9
  • Position: #168 / 223
  • Number of attempts: 2
Context Insensitive completion 1 - 436 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 37
  • Position: #211 / 223
  • Number of attempts: 3
Make Fancy Header - 978 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 27
  • Position: #305 / 329
  • Number of attempts: 2
Change the content of a string - 1354 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Position: #473 / 522
  • Number of attempts: 2
Tim Andersson
Twitter:

Mac/Cocoa/Objective-C lover. Apptivate developer.

entered into 8 challenges

contributed 0 challenges