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

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

223 active golfers, 436 entries

Solutions by @adamgbell:
18
#98 - Adam Bell / @adamgbell

02/21/2013 at 10:30PM

19
#>162 - Adam Bell / @adamgbell

02/21/2013 at 10:25PM

24
#>194 - Adam Bell / @adamgbell

02/21/2013 at 10:21PM

31
#>203 - Adam Bell / @adamgbell

02/21/2013 at 10:13PM

33
#>203 - Adam Bell / @adamgbell

02/21/2013 at 09:59PM

35
#>206 - Adam Bell / @adamgbell

02/21/2013 at 09:49PM

37
#>211 - Adam Bell / @adamgbell

02/21/2013 at 09:47PM

40
#>218 - Adam Bell / @adamgbell

02/21/2013 at 09:34PM

41
#>219 - Adam Bell / @adamgbell

02/21/2013 at 09:42PM

51
#>223 - Adam Bell / @adamgbell

02/21/2013 at 09:32PM

52
#>223 - Adam Bell / @adamgbell

02/21/2013 at 09:23PM