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 @caseycrites:

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

212 active golfers, 405 entries

Solutions by @caseycrites:
18
#29 - Casey W Crites / @caseycrites

12/31/2010 at 07:34PM

19
#>148 - Casey W Crites / @caseycrites

12/31/2010 at 07:33PM

31
#>193 - Casey W Crites / @caseycrites

12/31/2010 at 07:15PM

33
#>193 - Casey W Crites / @caseycrites

12/31/2010 at 07:12PM

35
#>195 - Casey W Crites / @caseycrites

12/31/2010 at 07:08PM

36
#>197 - Casey W Crites / @caseycrites

12/31/2010 at 06:52PM

36
#>197 - Casey W Crites / @caseycrites

12/31/2010 at 07:04PM

38
#>202 - Casey W Crites / @caseycrites

12/31/2010 at 06:47PM

38
#>202 - Casey W Crites / @caseycrites

12/31/2010 at 07:02PM

40
#>208 - Casey W Crites / @caseycrites

12/31/2010 at 06:45PM

42
#>209 - Casey W Crites / @caseycrites

12/31/2010 at 06:40PM

47
#>210 - Casey W Crites / @caseycrites

12/31/2010 at 06:35PM

50
#>212 - Casey W Crites / @caseycrites

12/31/2010 at 06:31PM