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 - 33695 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 / 7435
  • Number of attempts: 9
Wrap the text of an email message to 79 characters - 796 entries

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

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #89 / 3967
  • 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 - 1475 entries

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

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

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

  • Best score: 19
  • Best player score: 20
  • Position: #83 / 423
  • Number of attempts: 5
Flodder-challenge - 1309 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 35
  • Position: #149 / 343
  • Number of attempts: 4
Simple text editing with Vim - 12925 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 / 3722
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7091 entries

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

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

free tibet

entered into 10 challenges

contributed 0 challenges