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

Python Hello World! Reformatting - 906 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 44
  • Position: #192 / 352
  • Number of attempts: 2
A Simple One - 934 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #114 / 617
  • Number of attempts: 1
82 bottles of beer on the wall - 287 entries

Take them down. (sorry, only 82 bottles because the problem size is limited!)

  • Best score: 107
  • Best player score: 120
  • Position: #35 / 134
  • Number of attempts: 3
Ruby 1.9 compat - 597 entries

Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!

  • Best score: 14
  • Best player score: 15
  • Position: #81 / 226
  • Number of attempts: 2
Reverse Simple Deletion - 772 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #132 / 432
  • Number of attempts: 1
Increment, increment, increment.... - 591 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #75 / 378
  • Number of attempts: 2
Indentation - 452 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 21
  • Best player score: 38
  • Position: #138 / 160
  • Number of attempts: 1
The Cake is a Lie - 1215 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 10
  • Position: #295 / 491
  • Number of attempts: 2
Almost encrypted - 182 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 5
  • Position: #27 / 137
  • Number of attempts: 1
Make Fancy Header - 978 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 17
  • Position: #153 / 329
  • Number of attempts: 3
Ben Brown
Twitter:

entered into 10 challenges

contributed 0 challenges