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

Word Blender - 129 entries

The insides of long words seem to have been run through the blender. Can you fix this famous tale, brave knight?

  • Best score: 28
  • Best player score: 35
  • Position: #21 / 54
  • Number of attempts: 3
Here, piggy, piggy... - 75 entries

Youay owknay atwhay otay oday...

  • Best score: 68
  • Best player score: 84
  • Position: #11 / 21
  • Number of attempts: 2
It'ss tooo coold too typpe todaay - 209 entries

My hands are numb with cold. It's hard to type correctly.

  • Best score: 16
  • Best player score: 23
  • Position: #48 / 95
  • Number of attempts: 1
Reformat long lines - 329 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 22
  • Position: #105 / 129
  • Number of attempts: 1
Generate English Alphabets - 438 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #79 / 194
  • Number of attempts: 1
Insert a Markdown link - 420 entries

Put a link in a markdown document, using the after-the-paragraph format.

  • Best score: 22
  • Best player score: 24
  • Position: #42 / 141
  • Number of attempts: 2
The Universal Declaration of Human Rights, Article 1 - 145 entries

Somebody's got this slightly muddled up. See how quickly you can fix it. (I made this to experiment with buffers. I'm not actually sure whether this is faster with buffers or without.)

  • Best score: 24
  • Best player score: 28
  • Position: #49 / 68
  • Number of attempts: 1
Increment, increment, increment.... - 591 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #143 / 378
  • Number of attempts: 1
Indentation - 452 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 21
  • Best player score: 26
  • Position: #59 / 160
  • Number of attempts: 3
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: #162 / 223
  • Number of attempts: 1
Victor Vaile
Twitter:

entered into 10 challenges

contributed 0 challenges