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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #475 / 1140
  • Number of attempts: 2
Count both ways - 1022 entries

Right AND down.

  • Best score: 13
  • Best player score: 17
  • Position: #281 / 354
  • Number of attempts: 1
Two become one - 719 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: #57 / 210
  • Number of attempts: 8
Vim tetris - 371 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 29
  • Position: #74 / 104
  • Number of attempts: 1
Mess in revision history - 1210 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 21
  • Position: #101 / 254
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

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

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

  • Best score: 19
  • Best player score: 29
  • Position: #348 / 706
  • Number of attempts: 2
quotes inside quotes - 3185 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: #424 / 1086
  • Number of attempts: 4
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1350 / 3977
  • Number of attempts: 4
Simple text editing with Vim - 13262 entries

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

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

entered into 10 challenges

contributed 0 challenges