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

Generate English Alphabets - 487 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #107 / 206
  • Number of attempts: 3
Numbering a List - 1932 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 23
  • Position: #455 / 653
  • Number of attempts: 1
The holy-grail may help - 368 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 25
  • Position: #196 / 210
  • Number of attempts: 1
Ruby 1.9 hashes - 1244 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 17
  • Position: #319 / 406
  • Number of attempts: 1
Shebangs for all - 1999 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: #345 / 516
  • Number of attempts: 1
A Simple One - 1051 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: #226 / 665
  • Number of attempts: 1
Reverse and count - 476 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 32
  • Position: #129 / 177
  • Number of attempts: 1
Reverse Simple Deletion - 850 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #208 / 459
  • Number of attempts: 1
Indentation - 544 entries

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

  • Best score: 20
  • Best player score: 30
  • Position: #120 / 179
  • Number of attempts: 1
Hatsuyume - 532 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 15
  • Best player score: 32
  • Position: #143 / 186
  • Number of attempts: 1
The Cake is a Lie - 1349 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 13
  • Position: #493 / 528
  • Number of attempts: 1
Context Insensitive completion 1 - 498 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 34
  • Position: #221 / 245
  • Number of attempts: 3
Reformat some Python - 609 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 42
  • Position: #115 / 236
  • Number of attempts: 1
Change the content of a string - 1588 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 26
  • Position: #404 / 592
  • Number of attempts: 1
Sort and add attributes - 1467 entries

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

  • Best score: 33
  • Best player score: 40
  • Position: #523 / 570
  • Number of attempts: 1
Braces or Brackets? - 1033 entries

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

  • Best score: 34
  • Best player score: 48
  • Position: #201 / 320
  • Number of attempts: 1
Whitespace, empty lines and tabs - 3691 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 36
  • Position: #693 / 794
  • Number of attempts: 1
Flodder-challenge - 1282 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 38
  • Position: #219 / 340
  • Number of attempts: 1
Simple text editing with Vim - 12856 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #2161 / 3707
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7023 entries

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

  • Best score: 28
  • Best player score: 38
  • Position: #603 / 1720
  • Number of attempts: 3
jasper110
Twitter:

entered into 20 challenges

contributed 0 challenges