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

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

  • Best score: 5
  • Best player score: 5
  • Position: #59 / 431
  • 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 - 1376 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #421 / 535
  • Number of attempts: 1
Reformat a C golf submission - 614 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 / 210
  • Number of attempts: 2
Change the content of a string - 1686 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 26
  • Position: #426 / 621
  • Number of attempts: 3
Braces or Brackets? - 1075 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: #125 / 333
  • Number of attempts: 4
Whitespace, empty lines and tabs - 3814 entries

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

  • Best score: 16
  • Best player score: 34
  • Position: #661 / 820
  • Number of attempts: 1
Flodder-challenge - 1391 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 42
  • Position: #269 / 357
  • Number of attempts: 1
Simple text editing with Vim - 13183 entries

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

  • Best score: 13
  • Best player score: 27
  • Position: #3318 / 3789
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7309 entries

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

  • Best score: 7
  • Best player score: 63
  • Position: #1662 / 1805
  • Number of attempts: 2
Dave Bradford
Twitter:

entered into 10 challenges

contributed 0 challenges