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 by @Xelrifos:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @engineercyb

50 active golfers, 101 entries

Solutions by @Xelrifos:
26
#20 - Xelrifos / @Xelrifos

02/26/2014 at 06:55PM

28
#>33 - Xelrifos / @Xelrifos

02/26/2014 at 06:34PM