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

attr_aligner - 3075 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 32
  • Number of attempts: 2
Fix the XML - 888 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 30
  • Number of attempts: 3
Interweave two blocks of text - 502 entries

Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?

  • Best score: 15
  • Best player score: 24
  • Number of attempts: 1
Simple text editing with Vim - 10672 entries

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

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 1
camel riding - 697 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 17
  • Number of attempts: 2
vim1001 - 243 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 27
  • Number of attempts: 1
Don't know what this is - 1805 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 1
V to the i - 4104 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9717 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
Refactor static member invocation - 180 entries

Someone used a static method. Refactor the method into a static import while fixing the assertion.

  • Best score: 28
  • Best player score: 39
  • Number of attempts: 3
Words in parens - 11370 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
Just the middle - 9665 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Space out the alphabet - 1413 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Number of attempts: 3
Extract argument from function - 2049 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 6
I forgot quotes - 12707 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 3
Mirror Symmetry - 716 entries

Add backslashes.

  • Best score: 7
  • Best player score: 13
  • Number of attempts: 2
Count both ways - 887 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
-a-b-c- - 2689 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
simonced
Twitter:

Internet developper, a bit musician.

entered into 18 challenges

contributed 0 challenges