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 576c778ea4896a561b01b4f2

Copy three lines

If the site is up (by some miracle), make the text under every header identical.

Start file
First:
	Junk text.
Second:
	Junk text.
Third:
	Junk text.
Last:
	Copy these lines,
        and replace the text
        in each heading above.
End file
First:
	Copy these lines,
        and replace the text
        in each heading above.
Second:
	Copy these lines,
        and replace the text
        in each heading above.
Third:
	Copy these lines,
        and replace the text
        in each heading above.
Last:
	Copy these lines,
        and replace the text
        in each heading above.

View Diff

With vimgolf.com's uptime issues, I don't know if anyone will get to play this.
It's tricky though, surprisingly so. I hope a few people manage to get it to
load.

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 485 remaining solutions by signing in and submitting your own entry
#486 まきお / @makio0925 - Score: 114 - 10/30/17 @ 10:22
jjjjjjjVjjykkkkkkV@@@<Esc><Esc><Esc>jjjjjjVjjykkkkkkVpjjjjVjkpVPPuuuujjjjjjVjjykkkkkkVpjjjjjjjjVjjykkkkVpjjjjjjVjjykkVp:w<CR>:wq<CR>

0 comments


Created by: @udioica

486 active golfers, 2138 entries

Leaderboard (lowest score wins):
24
#421 - byte_kgd / @byte_kgd

08/10/2016 at 04:53PM

24
#422 - apan apansson / @apanapanssonapa

08/13/2016 at 03:33PM

24
#423 - TweetDreams / @TweetMusicians

10/08/2016 at 11:34AM

24
#424 - Kyouma / @kyoumaJohn

05/19/2017 at 02:00PM

24
#425 - IgnatiusMcGowan / @IgnatiusMcGowan

05/23/2017 at 11:42PM

24
#426 - Florian Gauger / @FlorianGauger

06/03/2017 at 12:48AM

24
#427 - Jamie Macdonald / @JamieMacdo

02/08/2018 at 03:41AM

24
#428 - Zach Johnson / @zachjohnsondev

08/16/2018 at 01:49PM

24
#429 - Raul / @Raul50174499

03/31/2019 at 03:31AM

25
#430 - janders223 / @janders223

06/24/2016 at 09:54PM

25
#431 - Robert Newbould / @c0nspiracy

06/29/2016 at 04:07PM

25
#432 - Devin Lehmacher / @lehmacdj

08/02/2016 at 06:10PM

25
#433 - Steven Schalhorn / @Unmensch

03/20/2017 at 07:24PM

25
#434 - autological_being / @metaporias

05/03/2018 at 04:47PM

25
#435 - z0c / @zerocabal

06/11/2018 at 04:12PM

25
#436 - Adam / @askoufish

10/23/2018 at 10:10PM

25
#437 - Jasper Pangilinan / @JasperP

12/30/2018 at 10:50AM

25
#438 - Maarten Staa / @SeriousSpoon

02/28/2019 at 10:24AM

25
#439 - Березницкий Вадим / @vad1mster

07/08/2019 at 11:56AM

26
#440 - Max / @Max77140

07/06/2016 at 10:55AM

26
#441 - Rob Smolinski / @scottymcribs

07/04/2017 at 12:48AM

26
#442 - Brent Woo / @BrentPWoo

10/03/2018 at 07:40PM

26
#443 - Oren Koriat / @KoriatOren

12/07/2018 at 10:31PM

26
#444 - gtgtgt02 / @gtgtgt02

03/30/2019 at 01:46PM

26
#445 - Andrew Ferrier / @andrewferrier

07/11/2019 at 09:55PM

27
#446 - FunkySayu / @FunkySayu

06/29/2016 at 04:10PM

27
#447 - Rebecca Clarkson / @ClarksonRL

10/09/2017 at 04:02PM

27
#448 - tuyen / @tuyen66827418

11/27/2018 at 04:30PM

27
#449 - Sebastian / @dersharky

03/14/2019 at 07:59PM

27
#450 - Vim Golfer / @VimGolfer6

08/05/2019 at 11:53AM