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

Swap values - 4616 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #715 / 1268
  • Number of attempts: 1
One number per line - 18725 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1414 / 3862
  • Number of attempts: 2
V to the i - 4802 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #496 / 1893
  • Number of attempts: 1
From argument to object - 1508 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: 18
  • Position: #182 / 458
  • Number of attempts: 2
Just the middle - 11454 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2464 / 4197
  • Number of attempts: 1
Todo list specification - 399 entries

The every item on the todo list must be done today. Modify the list to reflect that.

  • Best score: 37
  • Best player score: 37
  • Position: #22 / 179
  • Number of attempts: 1
Stairstep digits - 394 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #74 / 145
  • Number of attempts: 2
Missing Library and a Typo - 887 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 14
  • Best player score: 16
  • Position: #42 / 213
  • Number of attempts: 2
C Reformatting - 690 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 41
  • Position: #66 / 163
  • Number of attempts: 1
I forgot quotes - 15980 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1320 / 4179
  • Number of attempts: 3
Words in parens - 12930 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2688 / 3962
  • Number of attempts: 2
kkh
Twitter:

entered into 11 challenges

contributed 0 challenges