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

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

  • Best score: 12
  • Best player score: 16
  • Position: #1087 / 1556
  • Number of attempts: 1
Shebangs for all - 1787 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 17
  • Position: #315 / 470
  • Number of attempts: 2
Ruby 1.9 compat - 598 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: 18
  • Position: #156 / 227
  • Number of attempts: 1
Reverse Simple Deletion - 787 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #96 / 437
  • Number of attempts: 1
Increment, increment, increment.... - 599 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #95 / 382
  • Number of attempts: 1
Context Insensitive completion 1 - 437 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 21
  • Position: #180 / 224
  • Number of attempts: 1
Almost encrypted - 185 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 5
  • Position: #29 / 139
  • Number of attempts: 3
Make Fancy Header - 983 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 22
  • Position: #258 / 331
  • Number of attempts: 1
Change the content of a string - 1364 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #383 / 525
  • Number of attempts: 1
Sort and add attributes - 1217 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #20 / 492
  • Number of attempts: 1
Braces or Brackets? - 713 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 49
  • Position: #172 / 253
  • Number of attempts: 1
Rune Botten
Twitter:

Practicing Technologist @ Scandinavian Design Group. Fender Bassist.

entered into 11 challenges

contributed 0 challenges