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

Quick and easy

  • Best score: 7
  • Best player score: 9
  • Position: #328 / 478
  • Number of attempts: 3
Fix the shell script! - 2651 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 30
  • Position: #239 / 616
  • Number of attempts: 8
Visual block training - 1096 entries

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

  • Best score: 17
  • Best player score: 54
  • Position: #151 / 207
  • Number of attempts: 1
hello-world-vimgolf - 2513 entries

Simple number generation

  • Best score: 10
  • Best player score: 15
  • Position: #568 / 717
  • Number of attempts: 2
Search and Replace 0 - 5027 entries

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

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

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

  • Best score: 106
  • Best player score: 173
  • Position: #131 / 146
  • Number of attempts: 2
Reverse characters in a line - 789 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: #226 / 269
  • Number of attempts: 3
Change the content of a string - 1707 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #338 / 628
  • Number of attempts: 5
Sort and add attributes - 1539 entries

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

  • Best score: 33
  • Best player score: 34
  • Position: #393 / 594
  • Number of attempts: 2
Reconstruct the Sentence - 1677 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: 24
  • Position: #326 / 440
  • Number of attempts: 15
Simple text editing with Vim - 13262 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 / 3810
  • Number of attempts: 5
Geek Boy
Twitter:

entered into 11 challenges

contributed 0 challenges