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

switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #86 / 1754
  • Number of attempts: 9
PHP <--> Java class conversion Part 1 - 254 entries

Convert this tiny php class to adequate java one.

  • Best score: 65
  • Best player score: 187
  • Position: #62 / 63
  • Number of attempts: 1
PHP <--> Java class conversion Part 2 - 98 entries

Same class but reverse!

  • Best score: 79
  • Best player score: 227
  • Position: #39 / 39
  • Number of attempts: 1
Case preserving word replacement - 456 entries

Half way through my project, my people turned into dogs. Now I have to change everything in my source.

  • Best score: 19
  • Best player score: 23
  • Position: #144 / 181
  • Number of attempts: 2
Numbering a List - 1940 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 49
  • Position: #636 / 656
  • Number of attempts: 4
Ruby 1.9 hashes - 1272 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: 12
  • Position: #28 / 412
  • Number of attempts: 5
Reverse Simple Deletion - 862 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #206 / 463
  • Number of attempts: 1
Change the content of a string - 1711 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 28
  • Position: #535 / 629
  • Number of attempts: 2
Simple text editing with Vim - 13273 entries

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

  • Best score: 13
  • Best player score: 66
  • Position: #3769 / 3811
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7415 entries

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

  • Best score: 7
  • Best player score: 38
  • Position: #623 / 1825
  • Number of attempts: 5
Sergey Kim
Twitter:

IITU student http://about.me/skim1776

entered into 10 challenges

contributed 0 challenges