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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 31 remaining solutions by signing in and submitting your own entry
#32 )ouni|(antola / jouni_kantola - Score: 76 - 01/28/15 @ 22:38
iW<Esc>17a t<Esc>A X <Esc>ol<Esc>17a .<Esc>A r <Esc>YjP13.j6lr+12lr+12lr+Y10GP16GPGiY<Esc>17a b<Esc>A Z <CR><Esc>ZZ

0 comments

#33 Spencer Rogers / spencer1248 - Score: 77 - 05/25/13 @ 01:48
iW<Esc>17a t<Esc>a X <Esc>ol<Esc>17a .<Esc>a r <Esc>yy16pGOY<Esc>17a b<Esc>a Z <Esc>4Gqq3wr+6wr+6wr+q10G@q16G@qZZ

0 comments

#34 Ker / alin_ker - Score: 77 - 06/12/13 @ 14:37
iW X <Esc>h17it <Esc>ol r <Esc>h17i. <Esc>Y16pGOY Z <Esc>h17ib <Esc>:4<CR>qq3f.r+6f..6f..q:10<CR>@q:16<CR>@qZZ

0 comments

#35 Michael LeCompte / michaelslec - Score: 77 - 08/12/13 @ 00:56
iW<Esc>17a t<Esc>a X <Esc>ol<Esc>17a .<Esc>a r <Esc>yy16pGOY<Esc>17a b<Esc>a Z <Esc>4Gqq3wr+6wr+6wr+q10G@q16G@qZZ

0 comments

#36 Zach Kemp / zvksf - Score: 82 - 12/13/13 @ 23:56
iW<Esc>17at<Esc>aX<Esc>qbol<Esc>17a.<Esc>ar<Esc>q@bqc@b15hr+6lr+6lr+q5@b@c5@b@c2@boY<Esc>17ab<Esc>aZ<Esc>:%s;.;& ;g<CR>ZZ

0 comments

#37 Robert Goeddel / f0rdpr3fect - Score: 106 - 11/12/15 @ 19:17
19i.<Esc><Esc>Y18PrWqq16@aqqalrtq@qlrXqajrrq@qjrZqahrbq@qhrYqakrlq@q:%s/./& /g<CR>3k6lqwr+12lr+12lr+q10G6l@w4G6l.@wZZ

0 comments

#38 Richard John Soni / richsoni - Score: 108 - 05/24/13 @ 18:12
it<C-C><C-C>18.yy16p:%s/t/t /g<CR>:2,16s/ t/ \./g<CR>2k6lr+12l.12l.:t3<CR>:t8<BS>0<BS>9<CR>Gk:s/ t/ b/g<CR>rYk<C-V>ggrlrW$hrX18jrZk<C-V>16krr:wq<CR>

0 comments

#39 Julien Pivotto / roidelapluie - Score: 747 - 05/22/13 @ 12:49
iW t t t t t t t t t t t t t t t t t X <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . + . . . . . + . . . . . + . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . + . . . . . + . . . . . + . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . + . . . . . + . . . . . + . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>l . . . . . . . . . . . . . . . . . r <CR>Y b b b b b b b b b b b b b b b b b Z <Esc>:w<CR>ZZ

0 comments

Created by: wushexu

39 active golfers, 108 entries

Leaderboard (lowest score wins):
50
#1 - Urtica dioica / udioica

05/22/2013 at 04:25PM

50
#2 - Roland Schatz / fl_Overmind

07/12/2013 at 05:51PM

50
#3 - John Braxler / braxler

05/22/2014 at 03:09PM

51
#4 - Andy Balaam / andybalaam

06/11/2013 at 01:45PM

51
#5 - ———đίxίє—flαтlίиє——— / _dixie_flatline

07/19/2013 at 04:01AM

56
#6 - Kai Yuan / kentyuan

05/22/2013 at 04:09PM

56
#7 - Bradd Szonye / bszonye

07/11/2013 at 12:34PM

56
#8 - Pedro Santos / pedrosans

03/27/2014 at 08:09PM

57
#9 - Petro Тrouq / zulolosi

05/22/2013 at 11:51PM

59
#10 - powertomato / powertomato

07/12/2013 at 12:48PM

60
#11 - Steve Tjoa / stevetjoa

07/12/2013 at 06:46PM

61
#12 - Aaron Bieber / aaronbieber

06/02/2013 at 05:32PM

63
#13 - RobertT / techrt2050

10/02/2013 at 01:20AM

64
#14 - Marco Hinz / _mhinz_

05/22/2013 at 02:14PM

65
#15 - Nathan / NathanHarperoni

05/31/2013 at 06:58PM

67
#16 - cj / cj01101

08/08/2013 at 11:27AM

68
#17 - Bruno Pedro / bpedro

05/22/2013 at 02:56PM

68
#18 - Vinicius Souza / vsouzas

05/30/2013 at 05:26PM

68
#19 - Jim / BLSJim

06/09/2013 at 11:53AM

68
#20 - Justin / justinjaffray

07/05/2013 at 12:53PM

68
#21 - Joonas Pihlajamaa / jokkebk

03/18/2014 at 10:55AM

68
#22 - Paul Kunysch / kunysch

07/18/2014 at 08:17PM

72
#23 - zealotrush / zealotrush

05/22/2013 at 02:09PM

72
#24 - James / Dronak

09/20/2014 at 05:39PM

72
#25 - David Elentok / elentok

09/30/2014 at 02:38PM

72
#26 - Carlos A Henríquez Q / lagunex

01/19/2015 at 11:13AM

73
#27 - くま55 / kumack55

05/23/2013 at 12:21AM

73
#28 - Vincent Lee / vincentleest

07/04/2013 at 06:29AM

75
#29 - Oliver Christ / 0liverChrist

10/04/2013 at 02:45PM

75
#30 - David Tabachnikov / davidtab

09/30/2014 at 02:13PM

76
#31 - KeuZ / Fl4t

05/27/2013 at 09:54PM

76
#32 - )ouni|(antola / jouni_kantola

01/28/2015 at 10:38PM

77
#33 - Spencer Rogers / spencer1248

05/25/2013 at 01:48AM

77
#34 - Ker / alin_ker

06/12/2013 at 02:37PM

77
#35 - Michael LeCompte / michaelslec

08/12/2013 at 12:56AM

82
#36 - Zach Kemp / zvksf

12/13/2013 at 11:56PM

106
#37 - Robert Goeddel / f0rdpr3fect

11/12/2015 at 07:17PM

108
#38 - Richard John Soni / richsoni

05/24/2013 at 06:12PM

747
#39 - Julien Pivotto / roidelapluie

05/22/2013 at 12:49PM