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 - 1057 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: 43
  • Position: #150 / 402
  • Number of attempts: 2
A Simple One - 1094 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: #78 / 682
  • Number of attempts: 1
82 bottles of beer on the wall - 330 entries

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

  • Best score: 106
  • Best player score: 138
  • Position: #101 / 150
  • Number of attempts: 1
Table Reshuffle - 468 entries

Fix the column order in this table... also append the new 'username' column.

  • Best score: 22
  • Best player score: 33
  • Position: #79 / 145
  • Number of attempts: 1
Indentation - 575 entries

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

  • Best score: 20
  • Best player score: 29
  • Position: #97 / 183
  • Number of attempts: 1
Turn this csv list into queries - 278 entries

Transform each line of this csv file into a MySQL-ready INSERT query.

  • Best score: 98
  • Best player score: 146
  • Position: #87 / 104
  • Number of attempts: 1
The Cake is a Lie - 1419 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 11
  • Position: #414 / 544
  • Number of attempts: 1
Context Insensitive completion 1 - 535 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 20
  • Position: #196 / 253
  • Number of attempts: 2
Reformat a C golf submission - 681 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 32
  • Position: #115 / 222
  • Number of attempts: 1
Simple text editing with Vim - 13667 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #818 / 3914
  • Number of attempts: 3
greg
Twitter:

entered into 10 challenges

contributed 0 challenges