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 5bbb82f969a25f0009541350

Applying same text modification in several lines

Remove identical text at the beginning of several lines and the closing parenthesis.

Start file
Assert.ThrowsAsync<Exception>(() => _auction.StartSellingItem());
Assert.ThrowsAsync<Exception>(() => _application.StartBiddingIn(_auction));
Assert.ThrowsAsync<Exception>(() => _auction.HasReceivedJoinRequestFromSniper());
Assert.ThrowsAsync<Exception>(() => _auction.AnnounceClosed());
Assert.ThrowsAsync<Exception>(() => _application.ShowsSniperHasLostAuction());
End file
_auction.StartSellingItem();
_application.StartBiddingIn(_auction);
_auction.HasReceivedJoinRequestFromSniper();
_auction.AnnounceClosed();
_application.ShowsSniperHasLostAuction();

View Diff

1,5c1,5
< Assert.ThrowsAsync<Exception>(() => _auction.StartSellingItem());
< Assert.ThrowsAsync<Exception>(() => _application.StartBiddingIn(_auction));
< Assert.ThrowsAsync<Exception>(() => _auction.HasReceivedJoinRequestFromSniper());
< Assert.ThrowsAsync<Exception>(() => _auction.AnnounceClosed());
< Assert.ThrowsAsync<Exception>(() => _application.ShowsSniperHasLostAuction());
\ No newline at end of file
---
> _auction.StartSellingItem();
> _application.StartBiddingIn(_auction);
> _auction.HasReceivedJoinRequestFromSniper();
> _auction.AnnounceClosed();
> _application.ShowsSniperHasLostAuction();
\ No newline at end of file

Solutions by @ckwojai:

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

780 active golfers, 2623 entries

Solutions by @ckwojai:
13
#11 - Wilson Chang / @ckwojai

10/13/2018 at 08:00AM

14
#>243 - Wilson Chang / @ckwojai

10/13/2018 at 07:56AM

15
#>444 - Wilson Chang / @ckwojai

10/13/2018 at 07:55AM

15
#>444 - Wilson Chang / @ckwojai

10/13/2018 at 07:56AM

16
#>491 - Wilson Chang / @ckwojai

10/13/2018 at 07:52AM

17
#>564 - Wilson Chang / @ckwojai

10/13/2018 at 07:51AM

18
#>594 - Wilson Chang / @ckwojai

10/13/2018 at 07:50AM

19
#>623 - Wilson Chang / @ckwojai

10/13/2018 at 07:42AM

21
#>648 - Wilson Chang / @ckwojai

10/13/2018 at 07:41AM

26
#>703 - Wilson Chang / @ckwojai

10/13/2018 at 07:34AM