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

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

815 active golfers, 2751 entries

Solutions by @heppen_He:
13
#70 - heppen / @heppen_He

12/19/2018 at 02:46AM

13
#>138 - heppen / @heppen_He

05/19/2019 at 06:25AM

14
#>315 - heppen / @heppen_He

12/19/2018 at 02:22AM

14
#>356 - heppen / @heppen_He

05/19/2019 at 06:19AM

16
#>535 - heppen / @heppen_He

12/19/2018 at 02:21AM

22
#>698 - heppen / @heppen_He

12/19/2018 at 02:11AM

23
#>715 - heppen / @heppen_He

12/19/2018 at 02:09AM

24
#>724 - heppen / @heppen_He

12/19/2018 at 02:06AM

35
#>764 - heppen / @heppen_He

12/19/2018 at 01:59AM