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

Sort the cardinal numbers - 310 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 12
  • Position: #13 / 148
  • Number of attempts: 2
remove dupes from array - 1347 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 26
  • Position: #250 / 334
  • Number of attempts: 1
PHP <--> Java class conversion Part 2 - 98 entries

Same class but reverse!

  • Best score: 79
  • Best player score: 124
  • Position: #21 / 39
  • Number of attempts: 2
Ruby 1.9 compat - 624 entries

Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!

  • Best score: 14
  • Best player score: 16
  • Position: #128 / 232
  • Number of attempts: 3
Change the content of a string - 1541 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #57 / 577
  • Number of attempts: 4
Petro Verkhogliad
Twitter:

read/understand/create.

entered into 5 challenges

contributed 0 challenges