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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1022 / 1904
  • Number of attempts: 1
Search and Replace 0 - 5042 entries

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

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

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Position: #316 / 704
  • Number of attempts: 2
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1770 / 4234
  • Number of attempts: 1
Basic renumbering - 5707 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Position: #648 / 1274
  • Number of attempts: 1
Fix the XML - 1039 entries

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

  • Best score: 18
  • Best player score: 24
  • Position: #117 / 290
  • Number of attempts: 1
Winning streak - 139 entries

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

  • Best score: 21
  • Best player score: 27
  • Position: #27 / 52
  • Number of attempts: 2
I forgot quotes - 16127 entries

Oops.

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2008 / 3703
  • Number of attempts: 1
Letter case trickery - 1644 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: #269 / 520
  • Number of attempts: 2
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2227 / 3979
  • Number of attempts: 1
switch variable - 5101 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #859 / 1756
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7508 entries

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

  • Best score: 7
  • Best player score: 40
  • Position: #865 / 1847
  • Number of attempts: 1
Robin Moussu
Twitter:

entered into 13 challenges

contributed 0 challenges