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

Prefixes and suffixes - 506 entries

Generate all prefixes of "vimchallenge", then all suffixes.

  • Best score: 17
  • Best player score: 27
  • Number of attempts: 1
Space out the alphabet - 1401 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 26
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 5551 entries

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

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

A HAPPY NEW YEAR 2014 !

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Number of attempts: 1
Mirror Symmetry - 710 entries

Add backslashes.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 4
switch variable - 4382 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 4
V to the i - 4054 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Simple text editing with Vim - 10593 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: 2
Words in parens - 11260 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 2
Numbering a List - 1746 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 3
That hyphen - 2236 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Number of attempts: 6
I forgot quotes - 12373 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 1
remove dupes from array - 1205 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 22
  • Number of attempts: 5
ryo_n
Twitter:

妖刀有次で様々な物を切っていきます。Bitcoin: 1MNsEbXJUVpZsdMZYRWfMPF3i4foVUpnUY

entered into 14 challenges

contributed 0 challenges