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

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

231 active golfers, 456 entries

Solutions by @andriusbentkus:
18
#136 - Andrius Bentkus / @andriusbentkus

08/09/2018 at 12:58PM

21
#>183 - Andrius Bentkus / @andriusbentkus

08/09/2018 at 12:21PM

48
#>228 - Andrius Bentkus / @andriusbentkus

08/09/2018 at 12:11PM

49
#>229 - Andrius Bentkus / @andriusbentkus

08/09/2018 at 12:07PM

80
#>231 - Andrius Bentkus / @andriusbentkus

08/09/2018 at 12:05PM