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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1492 / 1842
  • Number of attempts: 1
Extract argument from function - 2194 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #483 / 723
  • Number of attempts: 1
Just the middle - 11080 entries

Delete the instructions at the top and bottom.

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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #865 / 1100
  • Number of attempts: 1
Count both ways - 935 entries

Right AND down.

  • Best score: 13
  • Best player score: 18
  • Position: #299 / 334
  • Number of attempts: 1
Winding path - 91 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: #32 / 39
  • Number of attempts: 1
Do you demand a shrubbery? - 1078 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 32
  • Position: #245 / 286
  • Number of attempts: 1
Don't know what this is - 1922 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: #447 / 564
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10511 entries

A HAPPY NEW YEAR 2014 !

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

entered into 9 challenges

contributed 0 challenges