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

Reformat/Refactor a Golfer Class - 5551 entries

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

  • Best score: 32
  • Best player score: 60
  • Number of attempts: 1
Reverse Simple Deletion - 721 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 1
The Cake is a Lie - 1136 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 3
Ruby 1.9 hashes - 1080 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 21
  • Number of attempts: 3
Word frequency alignment - 198 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
Enumerate words - 223 entries

Enumerate the unique words in order.

  • Best score: 23
  • Best player score: 47
  • Number of attempts: 2
HTML to Haml - 731 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 53
  • Number of attempts: 1
The Quick Brown Fox Jumps Over The Lazy Vim - 330 entries

Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."

  • Best score: 10
  • Best player score: 13
  • Number of attempts: 1
Remove noise from HTTP log - 618 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 1
The meaning - 503 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 7
  • Number of attempts: 1
Sort the VimGolf challenges by popularity - 268 entries

"Sort by popularity" is a good order to play the challenges. Not perfect, but you could do a lot worse. ;) Input is a sample copy-pasted from vimgolf.com. Some of the challenge names have digits that will get in your way, so read ":help :sort" for hints on sorting with a regex. When you're done, try your solution on the full list!

  • Best score: 15
  • Best player score: 20
  • Number of attempts: 4
Assignment Alignment - 700 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 31
  • Number of attempts: 2
CHIP CASTLE
Twitter:

Unix user. Vociferous Vimmer. Javascript juker. Sleeps like a cougar in a potato sack.

entered into 12 challenges

contributed 0 challenges