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

switch variable - 5093 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1274 / 1753
  • Number of attempts: 6
Replacing some words - 428 entries

How fast could it be?

  • Best score: 17
  • Best player score: 40
  • Position: #135 / 151
  • Number of attempts: 3
Make it more readable - 2009 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #335 / 652
  • Number of attempts: 4
remove dupes from array - 1360 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: 63
  • Position: #331 / 337
  • Number of attempts: 1
Sort and add attributes - 1530 entries

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

  • Best score: 33
  • Best player score: 35
  • Position: #416 / 592
  • Number of attempts: 3
Reconstruct the Sentence - 1669 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: 25
  • Position: #337 / 438
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3832 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 28
  • Position: #493 / 827
  • Number of attempts: 5
Flodder-challenge - 1391 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 45
  • Position: #293 / 357
  • Number of attempts: 1
Simple text editing with Vim - 13239 entries

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

  • Best score: 13
  • Best player score: 19
  • Position: #2754 / 3802
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7343 entries

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

  • Best score: 7
  • Best player score: 39
  • Position: #709 / 1817
  • Number of attempts: 4
Petrik de Heus
Twitter:

Slacking workaholic

entered into 10 challenges

contributed 0 challenges