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

Simple, Practical, and Common - 33621 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #336 / 7422
  • Number of attempts: 9
Wrap the text of an email message to 79 characters - 770 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #179 / 412
  • Number of attempts: 2
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #86 / 3964
  • Number of attempts: 7
Append semicolon after expressions - 1056 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 11
  • Position: #17 / 419
  • Number of attempts: 4
Remove noise from HTTP log - 717 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

  • Best score: 15
  • Best player score: 15
  • Position: #33 / 273
  • Number of attempts: 2
Sort and add attributes - 1454 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #152 / 565
  • Number of attempts: 5
Reconstruct the Sentence - 1511 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 20
  • Position: #79 / 413
  • Number of attempts: 5
Flodder-challenge - 1267 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 35
  • Position: #146 / 337
  • Number of attempts: 4
Simple text editing with Vim - 12822 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #86 / 3698
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7010 entries

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

  • Best score: 28
  • Best player score: 35
  • Position: #343 / 1713
  • Number of attempts: 6
shark dick
Twitter:

free tibet

entered into 10 challenges

contributed 0 challenges