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

Search and Replace 0 - 5045 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #936 / 1644
  • Number of attempts: 3
The name of the game - 678 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 25
  • Position: #362 / 363
  • Number of attempts: 1
switch variable - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1273 / 1756
  • Number of attempts: 2
Make it more readable - 2015 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #209 / 654
  • Number of attempts: 5
remove dupes from array - 1361 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 31
  • Position: #305 / 338
  • Number of attempts: 1
Numbering a List - 1941 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #514 / 657
  • Number of attempts: 1
The holy-grail may help - 391 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 25
  • Position: #203 / 216
  • Number of attempts: 1
Sorting paragraphs - 556 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 30
  • Position: #84 / 166
  • Number of attempts: 6
The Cake is a Lie - 1389 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #430 / 538
  • Number of attempts: 2
Simple text editing with Vim - 13421 entries

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

  • Best score: 13
  • Best player score: 25
  • Position: #3246 / 3847
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7513 entries

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

  • Best score: 7
  • Best player score: 62
  • Position: #1684 / 1849
  • Number of attempts: 1
Matthew Cupps
Twitter:

Catholic. Vegan. Geek.

entered into 11 challenges

contributed 0 challenges