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

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

  • Best score: 12
  • Best player score: 14
  • Position: #923 / 1625
  • Number of attempts: 3
The name of the game - 668 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 25
  • Position: #360 / 361
  • Number of attempts: 1
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1267 / 1749
  • Number of attempts: 2
Make it more readable - 2005 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #206 / 650
  • Number of attempts: 5
remove dupes from array - 1358 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: #304 / 336
  • Number of attempts: 1
Numbering a List - 1932 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #511 / 653
  • Number of attempts: 1
The holy-grail may help - 366 entries

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

  • Best score: 16
  • Best player score: 25
  • Position: #196 / 209
  • Number of attempts: 1
Sorting paragraphs - 534 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 30
  • Position: #81 / 163
  • Number of attempts: 6
The Cake is a Lie - 1346 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #422 / 527
  • Number of attempts: 2
Simple text editing with Vim - 12822 entries

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

  • Best score: 13
  • Best player score: 25
  • Position: #3132 / 3698
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7008 entries

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

  • Best score: 28
  • Best player score: 62
  • Position: #1584 / 1712
  • Number of attempts: 1
Matthew Cupps
Twitter:

Catholic. Vegan. Geek.

entered into 11 challenges

contributed 0 challenges