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

Fix the XML - 896 entries

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

  • Best score: 18
  • Best player score: 24
  • Number of attempts: 1
Winning streak - 105 entries

Make the number on each line equal the consecutive L's or W's.

  • Best score: 21
  • Best player score: 27
  • Number of attempts: 2
Letter case trickery - 1454 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 5622 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 40
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 9958 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
I forgot quotes - 13700 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 2
Just the middle - 10076 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Words in parens - 11783 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
That hyphen - 2312 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 2
V to the i - 4250 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
switch variable - 4537 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Search and Replace 0 - 4383 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
Basic renumbering - 5004 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 1
Robin Moussu
Twitter:

entered into 13 challenges

contributed 0 challenges