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

Search and Replace 0 - 5102 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #221 / 1662
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1714 / 3711
  • Number of attempts: 1
Hanging Indent for Footnotes - 86 entries

Format this footnote (in kramdown syntax) so that it has hanging indent.

  • Best score: 17
  • Best player score: 22
  • Position: #14 / 31
  • Number of attempts: 1
Words in parens - 13028 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 17
  • Position: #2560 / 3984
  • Number of attempts: 4
Hole-in-one - 1039 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
  • Position: #256 / 306
  • Number of attempts: 3
Delete unwanted lines - 441 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Position: #6 / 235
  • Number of attempts: 3
The Quick Brown Fox Jumps Over The Lazy Vim - 438 entries

Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."

  • Best score: 8
  • Best player score: 11
  • Position: #122 / 196
  • Number of attempts: 4
Switch function arguments - 2195 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #241 / 678
  • Number of attempts: 5
Simple text editing with Vim - 13517 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1123 / 3876
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7579 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 34
  • Position: #307 / 1871
  • Number of attempts: 6
Christopher Bahr
Twitter:

entered into 10 challenges

contributed 0 challenges