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

Move to corresponding lines - 305 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 18
  • Position: #18 / 68
  • Number of attempts: 15
New teacher - 1423 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 24
  • Position: #99 / 300
  • Number of attempts: 4
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: 25
  • Position: #27 / 210
  • Number of attempts: 7
Whitespace, empty lines and tabs - 3879 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #37 / 830
  • Number of attempts: 9
Simple text editing with Vim - 13274 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #2008 / 3811
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7415 entries

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

  • Best score: 7
  • Best player score: 34
  • Position: #327 / 1825
  • Number of attempts: 7
tianxiaweiyidao
Github:

entered into 6 challenges

contributed 0 challenges