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

Many duplicates - 1253 entries

Quick and easy

  • Best score: 7
  • Best player score: 9
  • Position: #284 / 412
  • Number of attempts: 3
Fix the shell script! - 2339 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 30
  • Position: #221 / 541
  • Number of attempts: 8
Visual block training - 1001 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 54
  • Position: #135 / 183
  • Number of attempts: 1
hello-world-vimgolf - 2358 entries

Simple number generation

  • Best score: 10
  • Best player score: 15
  • Position: #528 / 666
  • Number of attempts: 2
Search and Replace 0 - 4790 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #708 / 1585
  • Number of attempts: 5
82 bottles of beer on the wall - 303 entries

Take them down. (sorry, only 82 bottles because the problem size is limited!)

  • Best score: 106
  • Best player score: 173
  • Position: #127 / 141
  • Number of attempts: 2
Reverse characters in a line - 709 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 22
  • Position: #212 / 249
  • Number of attempts: 3
Change the content of a string - 1475 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #300 / 557
  • Number of attempts: 5
Sort and add attributes - 1327 entries

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

  • Best score: 33
  • Best player score: 34
  • Position: #355 / 529
  • Number of attempts: 2
Reconstruct the Sentence - 1363 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: 24
  • Position: #293 / 383
  • Number of attempts: 15
Simple text editing with Vim - 12283 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #680 / 3580
  • Number of attempts: 5
Geek Boy
Twitter:

entered into 11 challenges

contributed 0 challenges