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

Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3200 / 4112
  • Number of attempts: 5
Land of the Lost - 76 entries

Enter the tabs below the lyrics

  • Best score: 26
  • Best player score: 43
  • Position: #19 / 29
  • Number of attempts: 2
Interleave lines - 133 entries

This is some kind of « paste -d'\n' c b a ». There are many ways to achieve this.. just find the shortest!

  • Best score: 17
  • Best player score: 33
  • Position: #32 / 54
  • Number of attempts: 3
Mute the second method of this script - 439 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 10
  • Position: #175 / 233
  • Number of attempts: 1
I forgot quotes - 15727 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2735 / 4113
  • Number of attempts: 3
Gray area - 698 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 13
  • Position: #160 / 259
  • Number of attempts: 4
Don't know what this is - 1948 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: 15
  • Position: #386 / 571
  • Number of attempts: 4
Where should I put the Newline? - 842 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #335 / 421
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1958 / 3637
  • Number of attempts: 1
attr_aligner - 3402 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 30
  • Position: #363 / 685
  • Number of attempts: 2
Simple text editing with Vim - 11620 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2267 / 3409
  • Number of attempts: 1
dosmanak
Twitter:

tango argentino, bicycle, linux

entered into 11 challenges

contributed 0 challenges