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 - 1552 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: #304 / 469
  • Number of attempts: 1
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #980 / 4240
  • Number of attempts: 2
Fiddle percentages into real numbers - 884 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 / 296
  • Number of attempts: 2
Vice versa - 7995 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #792 / 2151
  • Number of attempts: 3
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Position: #2222 / 4216
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10743 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2246 / 3710
  • Number of attempts: 1
Words in parens - 13024 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2404 / 3983
  • Number of attempts: 2
Simple text editing with Vim - 13468 entries

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

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

entered into 8 challenges

contributed 0 challenges