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 - 4701 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #723 / 1290
  • Number of attempts: 1
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1425 / 3898
  • Number of attempts: 2
V to the i - 4853 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #496 / 1909
  • Number of attempts: 1
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: 18
  • Position: #185 / 469
  • Number of attempts: 2
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2475 / 4240
  • Number of attempts: 1
Todo list specification - 408 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 / 184
  • Number of attempts: 1
Stairstep digits - 412 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #76 / 151
  • Number of attempts: 2
Missing Library and a Typo - 952 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: #47 / 222
  • Number of attempts: 2
C Reformatting - 709 entries

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

  • Best score: 30
  • Best player score: 41
  • Position: #67 / 165
  • Number of attempts: 1
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1331 / 4216
  • Number of attempts: 3
Words in parens - 13028 entries

We should all ace this, right?

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

entered into 11 challenges

contributed 0 challenges