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

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

62 active golfers, 180 entries

Solutions by @kentyuan:
22
#21 - Kai Yuan / @kentyuan

07/25/2014 at 09:12AM

22
#>21 - Kai Yuan / @kentyuan

07/25/2014 at 09:21AM

24
#>33 - Kai Yuan / @kentyuan

07/25/2014 at 09:07AM