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

Two become one - 691 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: 51
  • Number of attempts: 1
Simple text editing with Vim - 10832 entries

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

  • Best score: 13
  • Best player score: 27
  • Number of attempts: 1
Mess in revision history - 1015 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 30
  • Number of attempts: 3
Vice versa - 6541 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Number of attempts: 6
I forgot quotes - 13485 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Number of attempts: 5
quotes inside quotes - 2885 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: 17
  • Number of attempts: 4
Letter case trickery - 1451 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 14
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 9913 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 19
  • Number of attempts: 2
stephencheng
Twitter:

entered into 8 challenges

contributed 0 challenges