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

V to the i - 4813 entries

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

  • Best score: 7
  • Best player score: 9
  • Position: #1644 / 1897
  • Number of attempts: 2
Bad Copy Syntax - 2040 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 22
  • Position: #323 / 527
  • Number of attempts: 1
Just the middle - 11477 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #549 / 4206
  • Number of attempts: 3
Basic renumbering - 5675 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Position: #659 / 1268
  • Number of attempts: 2
Vice versa - 7933 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #1007 / 2134
  • Number of attempts: 3
comments galore - 1045 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #314 / 424
  • Number of attempts: 4
Assign numbers to fields - 116 entries

You are given a list of space-separated strings. Add an increasing numeric prefix to each one.

  • Best score: 19
  • Best player score: 19
  • Position: #16 / 62
  • Number of attempts: 5
I forgot quotes - 16014 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #295 / 4188
  • Number of attempts: 6
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #811 / 1138
  • Number of attempts: 2
Words in parens - 12957 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #618 / 3967
  • Number of attempts: 6
A Simple One - 1057 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #421 / 667
  • Number of attempts: 1
Simple text editing with Vim - 12925 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1480 / 3722
  • Number of attempts: 8
Robert Clark
Twitter:

entered into 12 challenges

contributed 0 challenges