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

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #698 / 1241
  • Number of attempts: 1
One number per line - 18378 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1382 / 3788
  • Number of attempts: 2
V to the i - 4639 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #496 / 1856
  • Number of attempts: 1
From argument to object - 1262 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: #158 / 417
  • Number of attempts: 2
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2434 / 4112
  • Number of attempts: 1
Todo list specification - 365 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 / 168
  • Number of attempts: 1
Stairstep digits - 245 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #64 / 116
  • Number of attempts: 2
Missing Library and a Typo - 836 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: 15
  • Best player score: 16
  • Position: #39 / 205
  • Number of attempts: 2
C Reformatting - 686 entries

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

  • Best score: 30
  • Best player score: 41
  • Position: #64 / 159
  • Number of attempts: 1
I forgot quotes - 15728 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1301 / 4114
  • Number of attempts: 3
Words in parens - 12736 entries

We should all ace this, right?

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

entered into 11 challenges

contributed 0 challenges