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

-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #459 / 1112
  • Number of attempts: 2
Count both ways - 962 entries

Right AND down.

  • Best score: 13
  • Best player score: 17
  • Position: #270 / 342
  • Number of attempts: 1
Two become one - 703 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: 28
  • Position: #56 / 202
  • Number of attempts: 8
Vim tetris - 351 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 29
  • Position: #72 / 100
  • Number of attempts: 1
Mess in revision history - 1143 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 21
  • Position: #97 / 242
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10538 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #258 / 3638
  • Number of attempts: 6
attr_aligner - 3402 entries

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

  • Best score: 19
  • Best player score: 29
  • Position: #336 / 685
  • Number of attempts: 2
quotes inside quotes - 3030 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 15
  • Position: #405 / 1045
  • Number of attempts: 4
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1318 / 3919
  • Number of attempts: 4
Simple text editing with Vim - 11657 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #1917 / 3418
  • Number of attempts: 2
zhuochun
Twitter:

entered into 10 challenges

contributed 0 challenges