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

Quick and easy

  • Best score: 7
  • Best player score: 9
  • Position: #286 / 415
  • Number of attempts: 3
Fix the shell script! - 2349 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 30
  • Position: #222 / 543
  • Number of attempts: 8
Visual block training - 1005 entries

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

  • Best score: 17
  • Best player score: 54
  • Position: #136 / 185
  • Number of attempts: 1
hello-world-vimgolf - 2379 entries

Simple number generation

  • Best score: 10
  • Best player score: 15
  • Position: #533 / 674
  • Number of attempts: 2
Search and Replace 0 - 4792 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 - 711 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 / 250
  • Number of attempts: 3
Change the content of a string - 1482 entries

This docstring is a complete lie. Fix it.

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

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

  • Best score: 33
  • Best player score: 34
  • Position: #356 / 531
  • Number of attempts: 2
Reconstruct the Sentence - 1374 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 / 385
  • Number of attempts: 15
Simple text editing with Vim - 12290 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 / 3581
  • Number of attempts: 5
Geek Boy
Twitter:

entered into 11 challenges

contributed 0 challenges