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

Bad Copy Syntax - 1483 entries

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

  • Best score: 19
  • Best player score: 22
  • Number of attempts: 1
V to the i - 4251 entries

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

  • Best score: 7
  • Best player score: 9
  • Number of attempts: 2
Assign numbers to fields - 86 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
  • Number of attempts: 5
Simple text editing with Vim - 10896 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 8
I forgot quotes - 13713 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
A Simple One - 852 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
  • Number of attempts: 1
Vice versa - 6664 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 3
Words in parens - 11786 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 6
Just the middle - 10086 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
comments galore - 913 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 4
-a-b-c- - 2813 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
Basic renumbering - 5014 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 2
Robert Clark
Twitter:

entered into 12 challenges

contributed 0 challenges