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

fib.c cleanup - 58 entries

cleanup the file

  • Best score: 15
  • Best player score: 16
  • Position: #13 / 50
  • Number of attempts: 1
Block Fun 1 - 179 entries

Manipulate the columns to produce desired result.

  • Best score: 14
  • Best player score: 14
  • Position: #4 / 69
  • Number of attempts: 4
Checkerboard case pattern - 130 entries

All the squares are white. Make some of them black. But only the right ones.

  • Best score: 15
  • Best player score: 16
  • Position: #7 / 53
  • Number of attempts: 7
A simple change - 396 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 14
  • Position: #64 / 175
  • Number of attempts: 5
Chucking wood - 80 entries

An exercise in compressing repetitive text. For this challenge, any entry that uses keys outside the main row (such as arrow keys, Home, End, Delete, etc.) will be removed. (Esc is OK, though you should be using C-[ anyway.)

  • Best score: 51
  • Best player score: 57
  • Position: #16 / 38
  • Number of attempts: 4
Sort and add attributes - 1189 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #127 / 483
  • Number of attempts: 3
Whitespace, empty lines and tabs - 2978 entries

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

  • Best score: 16
  • Best player score: 24
  • Position: #306 / 662
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 6004 entries

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

  • Best score: 32
  • Best player score: 37
  • Position: #491 / 1480
  • Number of attempts: 2
Ray Lehtiniemi
Twitter:

entered into 8 challenges

contributed 0 challenges