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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #477 / 1143
  • Number of attempts: 2
Count both ways - 1035 entries

Right AND down.

  • Best score: 13
  • Best player score: 17
  • Position: #284 / 358
  • Number of attempts: 1
Two become one - 736 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: #58 / 212
  • Number of attempts: 8
Vim tetris - 384 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 29
  • Position: #75 / 105
  • Number of attempts: 1
Mess in revision history - 1228 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 21
  • Position: #102 / 256
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

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

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

  • Best score: 19
  • Best player score: 29
  • Position: #350 / 709
  • Number of attempts: 2
quotes inside quotes - 3200 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: #426 / 1091
  • Number of attempts: 4
Words in parens - 13032 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1355 / 3986
  • Number of attempts: 4
Simple text editing with Vim - 13526 entries

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

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

entered into 10 challenges

contributed 0 challenges