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

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

  • Best score: 7
  • Best player score: 8
  • Position: #997 / 1857
  • Number of attempts: 1
Search and Replace 0 - 4676 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #380 / 1549
  • Number of attempts: 2
That hyphen - 2500 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Position: #308 / 683
  • Number of attempts: 2
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1732 / 4114
  • Number of attempts: 1
Basic renumbering - 5436 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Position: #616 / 1228
  • Number of attempts: 1
Fix the XML - 958 entries

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

  • Best score: 18
  • Best player score: 24
  • Position: #111 / 279
  • Number of attempts: 1
Winning streak - 113 entries

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

  • Best score: 21
  • Best player score: 27
  • Position: #25 / 48
  • Number of attempts: 2
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #141 / 4116
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10538 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1969 / 3638
  • Number of attempts: 1
Letter case trickery - 1553 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
  • Position: #261 / 500
  • Number of attempts: 2
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2187 / 3919
  • Number of attempts: 1
switch variable - 4944 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #838 / 1708
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 6033 entries

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

  • Best score: 32
  • Best player score: 40
  • Position: #760 / 1486
  • Number of attempts: 1
Robin Moussu
Twitter:

entered into 13 challenges

contributed 0 challenges