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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 663 remaining solutions by signing in and submitting your own entry
#664 alex ekstrom / @alexekstrom07 - Score: 433 - 01/30/20 @ 20:02
i<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><Down><Up><Right><BS>(<Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><Down><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><Down><Left><Left><Left><Left><Left><Left><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><Down><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><BS><Esc>ZZ

0 comments


Created by: @alvesmarcell

664 active golfers, 2240 entries

Leaderboard (lowest score wins):
14
#301 - duyanh.y4n.pham / @PhamY4n

06/11/2019 at 03:17PM

14
#302 - Aurel / @AurelienFebvre

06/25/2019 at 07:42PM

14
#303 - hielke / @hielke24840788

06/28/2019 at 10:06PM

14
#304 - Epecb / @BceEpecb

06/30/2019 at 06:11PM

14
#305 - Trevor Langston / @sunkenroad

07/03/2019 at 01:38AM

14
#306 - せいほう / @FICSQF

07/03/2019 at 11:59PM

14
#307 - Chester Yap / @Chest_ErYap

07/06/2019 at 04:58AM

14
#308 - Denis / @4NNTGudvin

07/11/2019 at 01:15PM

14
#309 - Neil Struthers / @struthersneil

07/16/2019 at 11:31PM

14
#310 - Scott Schlesier / @sschlesier

07/22/2019 at 04:02PM

14
#311 - Joe Fahnestock🌵 / @Joecupojoe

07/23/2019 at 01:50AM

14
#312 - Not real / @Notreal70353016

07/23/2019 at 04:48AM

14
#313 - Matt Vaughn / @mattttvaughn

07/29/2019 at 02:24AM

14
#314 - Markus / @ARealAnnoyance

07/29/2019 at 11:45AM

14
#315 - Pittson / @Pittson95

07/31/2019 at 06:53PM

14
#316 - Jonathan Browning / @yungjig90

08/02/2019 at 04:51PM

14
#317 - Joel Elkins / @dice_tea

08/02/2019 at 05:26PM

14
#318 - Marc André Freiheit / @marc_freiheit

08/09/2019 at 12:19PM

14
#319 - averageRandomPerson / @averageRandomP1

08/10/2019 at 10:30PM

14
#320 - theBecwar / @thebecwar

08/18/2019 at 03:35PM

14
#321 - kevinski / @kevinsk30746831

08/22/2019 at 03:24PM

14
#322 - dpetrovic_vimgolf / @DpetrovicV

08/27/2019 at 01:47PM

14
#323 - JS / @jjohsan

08/30/2019 at 06:44AM

14
#324 - Алексей Кашуба / @Alex_Kashuba

08/31/2019 at 08:12PM

14
#325 - yesuu / @yesuu15

09/10/2019 at 02:25PM

14
#326 - diwa / @Di_nate_

09/12/2019 at 03:33AM

14
#327 - Sebastian Müller / @echsberde

09/19/2019 at 08:56PM

14
#328 - kkscr / @kkscr1

10/13/2019 at 02:33PM

14
#329 - Jonathan Medwig / @jmedwig

10/18/2019 at 02:08PM

14
#330 - ErQ325 / @EQ325

10/22/2019 at 11:36AM