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

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1613 / 3898
  • Number of attempts: 6
V to the i - 4853 entries

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

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

This line is too long, split it.

  • Best score: 15
  • Best player score: 23
  • Position: #478 / 638
  • Number of attempts: 1
Extract argument from function - 2397 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #457 / 766
  • Number of attempts: 2
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2179 / 4240
  • Number of attempts: 1
From A to B - 603 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 17
  • Position: #75 / 160
  • Number of attempts: 6
Space out the alphabet - 1687 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Position: #323 / 452
  • Number of attempts: 3
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #628 / 1143
  • Number of attempts: 2
Don't know what this is - 2040 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: #512 / 590
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

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

entered into 11 challenges

contributed 0 challenges