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

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #718 / 1275
  • Number of attempts: 1
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1416 / 3877
  • Number of attempts: 2
V to the i - 4824 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #496 / 1899
  • Number of attempts: 1
From argument to object - 1524 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 / 463
  • Number of attempts: 2
Just the middle - 11497 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2467 / 4215
  • Number of attempts: 1
Todo list specification - 401 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 / 180
  • Number of attempts: 1
Stairstep digits - 407 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #75 / 149
  • Number of attempts: 2
Missing Library and a Typo - 913 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: #43 / 218
  • 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 - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1324 / 4194
  • Number of attempts: 3
Words in parens - 12969 entries

We should all ace this, right?

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

entered into 11 challenges

contributed 0 challenges