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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1552 / 1916
  • Number of attempts: 1
Extract argument from function - 2429 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #521 / 773
  • Number of attempts: 1
Just the middle - 11630 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #263 / 4261
  • Number of attempts: 4
-a-b-c- - 3242 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #905 / 1147
  • Number of attempts: 1
Count both ways - 1053 entries

Right AND down.

  • Best score: 13
  • Best player score: 18
  • Position: #326 / 362
  • Number of attempts: 1
Winding path - 143 entries

It's a maze, but the bad paths have been blocked off. Mark the correct path.

  • Best score: 27
  • Best player score: 67
  • Position: #35 / 43
  • Number of attempts: 1
Do you demand a shrubbery? - 1208 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 32
  • Position: #263 / 310
  • Number of attempts: 1
Don't know what this is - 2070 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: #473 / 596
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10758 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 16
  • Position: #3284 / 3717
  • Number of attempts: 1
Andy Zhang
Twitter:

entered into 9 challenges

contributed 0 challenges