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

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

  • Best score: 5
  • Best player score: 5
  • Position: #59 / 421
  • Number of attempts: 1
Turn this csv list into queries - 252 entries

Transform each line of this csv file into a MySQL-ready INSERT query.

  • Best score: 98
  • Best player score: 127
  • Position: #59 / 101
  • Number of attempts: 1
The Cake is a Lie - 1365 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #419 / 532
  • Number of attempts: 1
Reformat a C golf submission - 612 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 37
  • Position: #154 / 209
  • Number of attempts: 2
Change the content of a string - 1596 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 26
  • Position: #407 / 595
  • Number of attempts: 3
Braces or Brackets? - 1056 entries

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

  • Best score: 34
  • Best player score: 42
  • Position: #124 / 325
  • Number of attempts: 4
Whitespace, empty lines and tabs - 3763 entries

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

  • Best score: 16
  • Best player score: 34
  • Position: #653 / 807
  • Number of attempts: 1
Flodder-challenge - 1343 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 42
  • Position: #264 / 348
  • Number of attempts: 1
Simple text editing with Vim - 13012 entries

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

  • Best score: 13
  • Best player score: 27
  • Position: #3282 / 3743
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7172 entries

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

  • Best score: 28
  • Best player score: 63
  • Position: #1624 / 1760
  • Number of attempts: 2
Dave Bradford
Twitter:

entered into 10 challenges

contributed 0 challenges