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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #479 / 1147
  • Number of attempts: 2
Count both ways - 1053 entries

Right AND down.

  • Best score: 13
  • Best player score: 17
  • Position: #288 / 362
  • Number of attempts: 1
Two become one - 739 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 / 213
  • Number of attempts: 8
Vim tetris - 390 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 29
  • Position: #76 / 108
  • Number of attempts: 1
Mess in revision history - 1238 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 21
  • Position: #104 / 260
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10758 entries

A HAPPY NEW YEAR 2014 !

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

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

  • Best score: 19
  • Best player score: 29
  • Position: #352 / 711
  • Number of attempts: 2
quotes inside quotes - 3203 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: #428 / 1094
  • Number of attempts: 4
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1358 / 3991
  • Number of attempts: 4
Simple text editing with Vim - 13645 entries

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

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

entered into 10 challenges

contributed 0 challenges