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]

39719 active golfers, 471747 entries, 607 challenges

Open VimGolf challenges

Reconstruct the Sentence - 1498 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

Sort and add attributes - 1447 entries

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

Braces or Brackets? - 1014 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

Flodder-challenge - 1259 entries

Replace the text the most efficient and win!

Whitespace, empty lines and tabs - 3647 entries

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

Simple text editing with Vim - 12787 entries

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

Reformat/Refactor a Golfer Class - 6972 entries

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

VimGolf Chatter