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

0 comments


Created by: @udioica

578 active golfers, 2571 entries

Leaderboard (lowest score wins):
23
#481 - Slawek Ligus / @ooz_ie

01/14/2019 at 08:00PM

23
#482 - Tyler k the science guy / @tyler_karpe

04/02/2019 at 08:01AM

23
#483 - 𝕛𝕓𝕣𝕠𝕨𝕟 / @Roguelazer

06/13/2019 at 07:52AM

23
#484 - JP / @JP16366170

09/08/2020 at 02:48PM

24
#485 - Clémence / @Clemence_Neoxia

06/24/2016 at 04:51PM

24
#486 - Adam Collins / @adc613

07/07/2016 at 08:48PM

24
#487 - Jonathan Werner / @jonathanewerner

07/09/2016 at 04:10PM

24
#488 - Nat / @ntzm_

07/15/2016 at 11:26AM

24
#489 - Ealhad / @Ealhad

07/15/2016 at 01:59PM

24
#490 - Ben Baker-Smith / @Bit_Synthesis

07/17/2016 at 05:52AM

24
#491 - Luc Mazardo / @lxtrmz

08/01/2016 at 09:39PM

24
#492 - byte_kgd / @byte_kgd

08/10/2016 at 04:53PM

24
#493 - apan apansson / @apanapanssonapa

08/13/2016 at 03:33PM

24
#494 - TweetDreams / @TweetMusicians

10/08/2016 at 11:34AM

24
#495 - Kyouma / @kyoumaJohn

05/19/2017 at 02:00PM

24
#496 - IgnatiusMcGowan / @IgnatiusMcGowan

05/23/2017 at 11:42PM

24
#497 - Florian Gauger / @FlorianGauger

06/03/2017 at 12:48AM

24
#498 - Jamie Macdonald / @JamieMacdo

02/08/2018 at 03:41AM

24
#499 - Zach Johnson / @zachjohnsondev

08/16/2018 at 01:49PM

24
#500 - Raul / @Raul50174499

03/31/2019 at 03:31AM

24
#501 - Ralph Callaway / @RalphAtCCC

10/29/2019 at 11:11PM

24
#502 - мои соседи вайнеры / @ionagamed

12/01/2019 at 08:04AM

24
#503 - Jason Neylon / @jasonneylon

01/15/2020 at 07:02PM

24
#504 - Steve Racanovic / @steve_racanovic

02/05/2020 at 09:56PM

24
#505 - samet ぷ / @jssamet

06/27/2020 at 03:38PM

25
#506 - janders223 / @janders223

06/24/2016 at 09:54PM

25
#507 - Robert Newbould / @c0nspiracy

06/29/2016 at 04:07PM

25
#508 - Devin Lehmacher / @lehmacdj

08/02/2016 at 06:10PM

25
#509 - Steven Schalhorn / @Unmensch

03/20/2017 at 07:24PM

25
#510 - autological_being / @metaporias

05/03/2018 at 04:47PM