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

Wrap the text of an email message to 79 characters - 754 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #166 / 407
  • Number of attempts: 1
Test everything! - 186 entries

... and build the desired input data structure. Transform a list of values into a non-trivial format.

  • Best score: 22
  • Best player score: 32
  • Position: #27 / 54
  • Number of attempts: 3
Parsing with CSV: Unify lines and result. - 179 entries

col1;col2;col3;col4 A;1;4;5 A;3;4; A;1;4; # New output: col1;col2;col3;col4 A;1(2x);3;4(3x);5 any ideas?

  • Best score: 21
  • Best player score: 21
  • Position: #5 / 77
  • Number of attempts: 3
Braces or Brackets? - 969 entries

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

  • Best score: 34
  • Best player score: 51
  • Position: #241 / 312
  • Number of attempts: 5
Whitespace, empty lines and tabs - 3614 entries

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

  • Best score: 16
  • Best player score: 32
  • Position: #575 / 780
  • Number of attempts: 1
Flodder-challenge - 1245 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 40
  • Position: #242 / 333
  • Number of attempts: 1
Simple text editing with Vim - 12744 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1030 / 3681
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 6937 entries

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

  • Best score: 28
  • Best player score: 45
  • Position: #1136 / 1699
  • Number of attempts: 1

Contributed Challenges

Test everything! - 186 entries

... and build the desired input data structure. Transform a list of values into a non-trivial format.

Simon Tost
Twitter:

entered into 8 challenges

contributed 1 challenges