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

From argument to object - 1566 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 19
  • Position: #305 / 471
  • Number of attempts: 1
Just the middle - 11616 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #980 / 4255
  • Number of attempts: 2
Fiddle percentages into real numbers - 886 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 13
  • Position: #93 / 297
  • Number of attempts: 2
Vice versa - 8019 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #793 / 2157
  • Number of attempts: 3
I forgot quotes - 16237 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2225 / 4224
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2248 / 3716
  • Number of attempts: 1
Words in parens - 13053 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2409 / 3991
  • Number of attempts: 2
Simple text editing with Vim - 13626 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #2215 / 3902
  • Number of attempts: 1
Christian Bauer
Twitter:

entered into 8 challenges

contributed 0 challenges