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 53d1f9344ab5290002ab30e0

Subtraction

Solve the equations.

Start file
xx - x =
xxx - x =
xxxx - x =
xxxxx - x =
xxxxx - xx =
xxxxxx - xxxxx =
xxxxxxx - xx =
xxxxxxx - xx =
xxxxxxxx - xx =
xxxxxxxx - xxxxx =
xxxxxxxx - xxxxxx =
xxxxxxxxx - xxx =
xxxxxxxxxx - xxxxx =
xxxxxxxxxx - xxxxxxxx =
xxxxxxxxxxx - xxxx =
xxxxxxxxxxx - xxxxx =
xxxxxxxxxxxxx - xxxxxx =
xxxxxxxxxxxxxx - xxx =
xxxxxxxxxxxxxxx - xx =
xxxxxxxxxxxxxxxx - xxxxxxxx =
End file
xx - x = x
xxx - x = xx
xxxx - x = xxx
xxxxx - x = xxxx
xxxxx - xx = xxx
xxxxxx - xxxxx = x
xxxxxxx - xx = xxxxx
xxxxxxx - xx = xxxxx
xxxxxxxx - xx = xxxxxx
xxxxxxxx - xxxxx = xxx
xxxxxxxx - xxxxxx = xx
xxxxxxxxx - xxx = xxxxxx
xxxxxxxxxx - xxxxx = xxxxx
xxxxxxxxxx - xxxxxxxx = xx
xxxxxxxxxxx - xxxx = xxxxxxx
xxxxxxxxxxx - xxxxx = xxxxxx
xxxxxxxxxxxxx - xxxxxx = xxxxxxx
xxxxxxxxxxxxxx - xxx = xxxxxxxxxxx
xxxxxxxxxxxxxxx - xx = xxxxxxxxxxxxx
xxxxxxxxxxxxxxxx - xxxxxxxx = xxxxxxxx

View Diff

1,20c1,20
< xx - x =
< xxx - x =
< xxxx - x =
< xxxxx - x =
< xxxxx - xx =
< xxxxxx - xxxxx =
< xxxxxxx - xx =
< xxxxxxx - xx =
< xxxxxxxx - xx =
< xxxxxxxx - xxxxx =
< xxxxxxxx - xxxxxx =
< xxxxxxxxx - xxx =
< xxxxxxxxxx - xxxxx =
< xxxxxxxxxx - xxxxxxxx =
< xxxxxxxxxxx - xxxx =
< xxxxxxxxxxx - xxxxx =
< xxxxxxxxxxxxx - xxxxxx =
< xxxxxxxxxxxxxx - xxx =
< xxxxxxxxxxxxxxx - xx =
< xxxxxxxxxxxxxxxx - xxxxxxxx =
---
> xx - x = x
> xxx - x = xx
> xxxx - x = xxx
> xxxxx - x = xxxx
> xxxxx - xx = xxx
> xxxxxx - xxxxx = x
> xxxxxxx - xx = xxxxx
> xxxxxxx - xx = xxxxx
> xxxxxxxx - xx = xxxxxx
> xxxxxxxx - xxxxx = xxx
> xxxxxxxx - xxxxxx = xx
> xxxxxxxxx - xxx = xxxxxx
> xxxxxxxxxx - xxxxx = xxxxx
> xxxxxxxxxx - xxxxxxxx = xx
> xxxxxxxxxxx - xxxx = xxxxxxx
> xxxxxxxxxxx - xxxxx = xxxxxx
> xxxxxxxxxxxxx - xxxxxx = xxxxxxx
> xxxxxxxxxxxxxx - xxx = xxxxxxxxxxx
> xxxxxxxxxxxxxxx - xx = xxxxxxxxxxxxx
> xxxxxxxxxxxxxxxx - xxxxxxxx = xxxxxxxx

Solutions by @pftb12345:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @Caek_

62 active golfers, 180 entries

Solutions by @pftb12345:
22
#28 - pftb12345 / @pftb12345

04/11/2015 at 03:45PM

23
#>31 - pftb12345 / @pftb12345

04/11/2015 at 03:44PM

26
#>39 - pftb12345 / @pftb12345

04/11/2015 at 03:42PM

30
#>51 - pftb12345 / @pftb12345

04/11/2015 at 03:40PM