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

Counting in binary - 402 entries

"a" represents 0; "A" represents 1. Start from zero and count to 15.

  • Best score: 16
  • Best player score: 53
  • Number of attempts: 1
attr_aligner - 3194 entries

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

  • Best score: 19
  • Best player score: 32
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9964 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
Hole-in-one - 958 entries

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

  • Best score: 15
  • Best player score: 23
  • Number of attempts: 1
Gray area - 664 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
Going underground.... - 298 entries

Simple reformatting: in this case changing from the format London underground supplies its customers with, to the format that Google Calendar likes...

  • Best score: 22
  • Best player score: 50
  • Number of attempts: 1
Simple text editing with Vim - 10897 entries

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

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 1
Words in parens - 11797 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 5
quotes inside quotes - 2909 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: 3
Christophe de Vienne
Twitter:

Software Engineer, Python enthusiast, http://t.co/6ZW84JL4Pe co-founder & CTO

entered into 9 challenges

contributed 0 challenges