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 4d1b795a81502541ad00000f

Context Insensitive completion 1

Finish writing this simple Python HTTP server.

Start file
from SimpleHTTPServer import SimpleHTTPRequestHandler
from SocketServer import TCPServer

ADDR = ("", 8080)
httpd = # Finish this line
httpd.serve_forever()
End file
from SimpleHTTPServer import SimpleHTTPRequestHandler
from SocketServer import TCPServer

ADDR = ("", 8080)
httpd = TCPServer(ADDR, SimpleHTTPRequestHandler)
httpd.serve_forever()

View Diff

5c5
< httpd = # Finish this line
---
> httpd = TCPServer(ADDR, SimpleHTTPRequestHandler)

Solutions by @DoomedBunnies:

Unlock 3 remaining solutions by signing in and submitting your own entry
Created by: @wolever

233 active golfers, 460 entries

Solutions by @DoomedBunnies:
18
#74 - Trevor Powell / @DoomedBunnies

11/29/2011 at 07:32AM

18
#>98 - Trevor Powell / @DoomedBunnies

03/20/2013 at 02:16AM

19
#>166 - Trevor Powell / @DoomedBunnies

11/29/2011 at 07:29AM