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

One number per line - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1571 / 3793
  • Number of attempts: 6
V to the i - 4641 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #359 / 1857
  • Number of attempts: 2
Split line with dots - 2103 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 23
  • Position: #470 / 623
  • Number of attempts: 1
Extract argument from function - 2218 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #432 / 729
  • 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: #2139 / 4114
  • Number of attempts: 1
From A to B - 556 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 17
  • Position: #70 / 153
  • Number of attempts: 6
Space out the alphabet - 1595 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Position: #312 / 434
  • Number of attempts: 3
-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #610 / 1112
  • Number of attempts: 2
Don't know what this is - 1951 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
  • Position: #498 / 572
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10538 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #951 / 3638
  • Number of attempts: 2
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3065 / 3919
  • Number of attempts: 1
Jason Pleau
Twitter:

entered into 11 challenges

contributed 0 challenges