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

245 active golfers, 498 entries

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

12/31/2010 at 07:34PM

19
#>171 - Casey W Crites / @caseycrites

12/31/2010 at 07:33PM

31
#>218 - Casey W Crites / @caseycrites

12/31/2010 at 07:15PM

33
#>219 - Casey W Crites / @caseycrites

12/31/2010 at 07:12PM

35
#>222 - Casey W Crites / @caseycrites

12/31/2010 at 07:08PM

36
#>224 - Casey W Crites / @caseycrites

12/31/2010 at 06:52PM

36
#>224 - Casey W Crites / @caseycrites

12/31/2010 at 07:04PM

38
#>230 - Casey W Crites / @caseycrites

12/31/2010 at 06:47PM

38
#>230 - Casey W Crites / @caseycrites

12/31/2010 at 07:02PM

40
#>236 - Casey W Crites / @caseycrites

12/31/2010 at 06:45PM

42
#>238 - Casey W Crites / @caseycrites

12/31/2010 at 06:40PM

47
#>239 - Casey W Crites / @caseycrites

12/31/2010 at 06:35PM

50
#>243 - Casey W Crites / @caseycrites

12/31/2010 at 06:31PM