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

Convert list of enums to list of localization terms - 262 entries

While making my game Piloteer, I had a large list of TaskTypes and needed to convert them to an equivalent list of localization terms, to be used when translating the game's text into different languages.

  • Best score: 75
  • Best player score: 86
  • Position: #11 / 74
  • Number of attempts: 14
Move to corresponding lines - 335 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 18
  • Position: #19 / 77
  • Number of attempts: 15
New teacher - 1534 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #106 / 322
  • Number of attempts: 4
Reformat a C golf submission - 682 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: 25
  • Position: #31 / 223
  • Number of attempts: 7
Whitespace, empty lines and tabs - 4083 entries

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

  • Best score: 7
  • Best player score: 16
  • Position: #38 / 872
  • Number of attempts: 9
Simple text editing with Vim - 13682 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #2036 / 3920
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7737 entries

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

  • Best score: 7
  • Best player score: 34
  • Position: #339 / 1901
  • Number of attempts: 7
tianxiaweiyidao
Github:

entered into 7 challenges

contributed 0 challenges