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 519cb48135fc71000200004a

Draw the Go board

which is a 19×19 lines board. Here we use ascii characters only for simplicity. See diff file to get a sense. (See also http://en.wikipedia.org/wiki/Go_(game))

Start file

End file
W t t t t t t t t t t t t t t t t t X 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . + . . . . . + . . . . . + . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . + . . . . . + . . . . . + . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
l . . + . . . . . + . . . . . + . . r 
l . . . . . . . . . . . . . . . . . r 
l . . . . . . . . . . . . . . . . . r 
Y b b b b b b b b b b b b b b b b b Z 

View Diff

    A B C D E F G H I J K L M N O P Q R S
 1 ┏ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┯ ┓ 
 2 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
 3 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
 4 ┠ ┼ ┼ ╋ ┼ ┼ ┼ ┼ ┼ ╋ ┼ ┼ ┼ ┼ ┼ ╋ ┼ ┼ ┨ 
 5 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
 6 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
 7 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
 8 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
 9 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
10 ┠ ┼ ┼ ╋ ┼ ┼ ┼ ┼ ┼ ╋ ┼ ┼ ┼ ┼ ┼ ╋ ┼ ┼ ┨ 
11 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
12 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
13 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
14 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
15 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
16 ┠ ┼ ┼ ╋ ┼ ┼ ┼ ┼ ┼ ╋ ┼ ┼ ┼ ┼ ┼ ╋ ┼ ┼ ┨ 
17 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
18 ┠ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┼ ┨ 
19 ┗ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┷ ┛ 

Solutions by @f0rdpr3fect:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @zhwenyuan

51 active golfers, 149 entries

Solutions by @f0rdpr3fect:
106
#49 - Robert Goeddel / @f0rdpr3fect

11/12/2015 at 07:17PM