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

HTML formatting: vertical alignment for readability - 59 entries

We did this a VimGolf challenge at work and now that we have finished I want to see if you guys can come up with something even better than we could. Our best solution was 44 keystrokes.

  • Best score: 33
  • Best player score: 60
  • Number of attempts: 2
120 Degrees - 370 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 26
  • Number of attempts: 1
Two become one - 676 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 26
  • Number of attempts: 8
Where should I put the Newline? - 802 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
-a-b-c- - 2689 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
Don't know what this is - 1805 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: 11
  • Number of attempts: 6
Mute the second method of this script - 416 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Vertical Limit - 2167 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 25
  • Number of attempts: 5
Just the middle - 9685 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
ASCII box - 295 entries

Don't forget to fix typos!

  • Best score: 23
  • Best player score: 33
  • Number of attempts: 1
increment by column in XML - 140 entries

modify an arbitrary "column" in an xml table by incrementing a an arbitrary placeholder string

  • Best score: 19
  • Best player score: 26
  • Number of attempts: 4
Space out the alphabet - 1413 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 2
V to the i - 4110 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
I forgot quotes - 12726 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 4
Fix the XML - 888 entries

The challenge consists in having a valid xml from an incomplete source.

  • Best score: 18
  • Best player score: 25
  • Number of attempts: 1
Juan-Lucas Picard
Twitter:

entered into 15 challenges

contributed 0 challenges