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

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

  • Best score: 12
  • Best player score: 16
  • Position: #1174 / 1644
  • Number of attempts: 2
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #1888 / 3979
  • Number of attempts: 2
Context insensitive completion 0 - 594 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: 9
  • Position: #203 / 251
  • Number of attempts: 2
Context Insensitive completion 1 - 512 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 19
  • Position: #180 / 248
  • Number of attempts: 2
Remember FizzBuzz? - 787 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 61
  • Position: #125 / 204
  • Number of attempts: 3
Change the content of a string - 1750 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #498 / 639
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3949 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 31
  • Position: #593 / 841
  • Number of attempts: 1
Simple text editing with Vim - 13425 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1093 / 3848
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7514 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 45
  • Position: #1200 / 1850
  • Number of attempts: 1
Kathryn
Twitter:

entered into 9 challenges

contributed 0 challenges