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 50127eba201f450002000024

Make the circuit grid!

Copy this command for a circuit layout program to create 10 total smd commands. Increment the number in quotes to name each pad, and add 0.7 to each of the (X Y) coordinates at the end of each line.

Start file
smd .5 .5 -100 'A1' (0 -1.2)
End file
smd .5 .5 -100 'A1' (0 -1.2)
smd .5 .5 -100 'A2' (0 -0.5)
smd .5 .5 -100 'A3' (0 0.2)
smd .5 .5 -100 'A4' (0 0.9)
smd .5 .5 -100 'A5' (0 1.6)
smd .5 .5 -100 'A6' (0 2.3)
smd .5 .5 -100 'A7' (0 3.0)
smd .5 .5 -100 'A8' (0 3.7)
smd .5 .5 -100 'A9' (0 4.4)
smd .5 .5 -100 'A10' (0 5.1)

View Diff

1a2,10
> smd .5 .5 -100 'A2' (0 -0.5)
> smd .5 .5 -100 'A3' (0 0.2)
> smd .5 .5 -100 'A4' (0 0.9)
> smd .5 .5 -100 'A5' (0 1.6)
> smd .5 .5 -100 'A6' (0 2.3)
> smd .5 .5 -100 'A7' (0 3.0)
> smd .5 .5 -100 'A8' (0 3.7)
> smd .5 .5 -100 'A9' (0 4.4)
> smd .5 .5 -100 'A10' (0 5.1)

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 32 remaining solutions by signing in and submitting your own entry
#33 Chris Brown / engineercyb - Score: 31 - 07/27/12 @ 11:44
qqYpf';h<C-A>%T ct)<C-R>=<C-R>"+<k0>.<k7><CR><Esc>q8@qZZ

0 comments

#34 Son of Bongo / bpcode - Score: 33 - 10/05/12 @ 14:42
qqYpfAl<C-A>f0llct)<C-R>=<C-R>"+0.7<CR>q<BS><Esc>q8@qZZ

0 comments

#35 Glen / Glen_S - Score: 35 - 07/29/12 @ 01:44
qqyypfA<C-A>f.x7<C-A>i.<Esc>q8@q/-\.<CR>x<C-V>jjI0<Esc>PZZ

0 comments

#36 Martin Petrov / mgpetrov - Score: 36 - 08/25/12 @ 17:52
qqyypfAl<C-A>f.x7<C-A>Pq8@q2G3f0ylf.PjhPjPZZ

0 comments

#37 Raúl Jara / rauljara - Score: 50 - 07/28/12 @ 03:25
3f.xqqyyp2t'<C-A>t)7<C-A>q8@q:%s/\d_<BS>)/.\0<CR>2G3f.i0<Esc>jh.j.ZZ

0 comments

#38 Piotr Śniegowski / PiotrSniegowski - Score: 53 - 06/06/13 @ 13:05
t2<Del>qayypfA <C-A>t)7<C-A><Esc>q8@a8kqahi0<Esc>jq@ai0<Esc>gg$qa$hi.<Esc>jq9@aZZ

0 comments

#39 Justin Knag / justinknag - Score: 88 - 03/06/15 @ 11:00
Yp17l<C-A>f1r0Ypf2<C-A>f-xYpf3<C-A>Ypqq17l<C-A>f.h<C-A>Ypq4@qf9cw10<Esc>f2r1khr4kr7jhhr4kr3kllr0kr3kr6kr9kklr5ZZ

0 comments

#40 Ravi S Sinha / ambidextrousTx - Score: 89 - 09/02/12 @ 19:24
yy9p:let a=2|e<BS>let b=-1.2<CR>qafAlcw<C-R>=a<CR><Esc>2Wct)<C-R>=0.7+b<CR><Esc>:et <BS><BS><BS>let a+=1|let b+=0.7<CR>j0q8@a:wq<CR>

0 comments

Created by: engineercyb

40 active golfers, 71 entries

Leaderboard (lowest score wins):
26
#1 - Kerson Hsiao / KersonHsiao

07/27/2012 at 12:26PM

26
#2 - h_east (トロッコ6個) / h_east

07/27/2012 at 01:38PM

26
#3 - Federico Galassi / federicogalassi

07/27/2012 at 01:50PM

26
#4 - Tim Chase / gumnos

07/27/2012 at 05:53PM

26
#5 - Urtica dioica / udioica

07/27/2012 at 05:57PM

26
#6 - Justin Love / wondible

07/28/2012 at 03:48AM

26
#7 - Peter Anselmo / peter_anselmo

07/28/2012 at 03:09PM

26
#8 - Alexander Zolotov / alex_zolotov

08/12/2012 at 04:13PM

26
#9 - Catalin Ciurea / catalinciurea

08/12/2012 at 09:20PM

26
#10 - Sean Griffin / sgrif

08/12/2012 at 10:42PM

26
#11 - chikatoike / chikatoike

08/16/2012 at 03:52AM

26
#12 - 刘玮 / lwjef

08/16/2012 at 11:50PM

26
#13 - I / ForgetIt17

08/17/2012 at 11:59PM

26
#14 - Aaron Hall / aarontothemax

08/24/2012 at 04:06AM

26
#15 - tmr / tmr314

09/07/2012 at 08:49PM

26
#16 - Conner McDaniel / connermcd

09/18/2012 at 04:29AM

26
#17 - Chasetopher / chasetopherlee

10/31/2012 at 04:28AM

26
#18 - James / Dronak

09/05/2013 at 09:18PM

26
#19 - Bambu / bambumandinga

01/18/2014 at 11:53PM

26
#20 - Xelrifos / Xelrifos

02/26/2014 at 06:55PM

26
#21 - Joonas Pihlajamaa / jokkebk

03/21/2014 at 12:58PM

26
#22 - Brian Olpin / bolpin

05/04/2014 at 03:15PM

26
#23 - Leeren / Leeren

08/10/2014 at 08:17PM

26
#24 - Caek / Caek_

08/18/2014 at 01:30AM

26
#25 - John Braxler / braxler

08/26/2014 at 05:27PM

27
#26 - cromac / cromac

07/29/2012 at 06:13AM

28
#27 - Édouard M'tou / DouardM

10/09/2012 at 06:52AM

28
#28 - Marcin Sza / coot_

10/29/2012 at 03:39PM

29
#29 - Peter Schlette / pschlette

08/01/2012 at 04:04AM

29
#30 - J Paul Daigle / philosodad

08/17/2012 at 01:21PM

29
#31 - Vasil Sakarov / vsakarov

09/20/2012 at 08:52AM

30
#32 - Joseph Barratt / josephmbarratt

09/10/2012 at 10:53PM

31
#33 - Chris Brown / engineercyb

07/27/2012 at 11:44AM

33
#34 - Son of Bongo / bpcode

10/05/2012 at 02:42PM

35
#35 - Glen / Glen_S

07/29/2012 at 01:44AM

36
#36 - Martin Petrov / mgpetrov

08/25/2012 at 05:52PM

50
#37 - Raúl Jara / rauljara

07/28/2012 at 03:25AM

53
#38 - Piotr Śniegowski / PiotrSniegowski

06/06/2013 at 01:05PM

88
#39 - Justin Knag / justinknag

03/06/2015 at 11:00AM

89
#40 - Ravi S Sinha / ambidextrousTx

09/02/2012 at 07:24PM