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

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

50 active golfers, 101 entries

Solutions by @nickandbro:
32
#41 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

33
#>42 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

35
#>43 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

36
#>44 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

48
#>45 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

50
#>46 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

53
#>47 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

71
#>48 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

88
#>49 - nickGPT / @nickandbro

08/28/2024 at 08:03PM

89
#>50 - nickGPT / @nickandbro

08/28/2024 at 08:03PM