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

0 comments


Created by: @udioica

641 active golfers, 2875 entries

Leaderboard (lowest score wins):
24
#541 - TweetDreams / @TweetMusicians

10/08/2016 at 11:34AM

24
#542 - Kyouma / @kyoumaJohn

05/19/2017 at 02:00PM

24
#543 - IgnatiusMcGowan / @IgnatiusMcGowan

05/23/2017 at 11:42PM

24
#544 - Florian Gauger / @FlorianGauger

06/03/2017 at 12:48AM

24
#545 - Jamie Macdonald / @JamieMacdo

02/08/2018 at 03:41AM

24
#546 - Zach Johnson / @zachjohnsondev

08/16/2018 at 01:49PM

24
#547 - Raul / @Raul50174499

03/31/2019 at 03:31AM

24
#548 - Ralph Callaway / @RalphAtCCC

10/29/2019 at 11:11PM

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

12/01/2019 at 08:04AM

24
#550 - Jason Neylon / @jasonneylon

01/15/2020 at 07:02PM

24
#551 - Steve Racanovic / @steve_racanovic

02/05/2020 at 09:56PM

24
#552 - samet ぷ / @jssamet

06/27/2020 at 03:38PM

24
#553 - Peter Wang / @omgitsabackup

01/29/2025 at 04:44AM

25
#554 - janders223 / @janders223

06/24/2016 at 09:54PM

25
#555 - Robert Newbould / @c0nspiracy

06/29/2016 at 04:07PM

25
#556 - Devin Lehmacher / @lehmacdj

08/02/2016 at 06:10PM

25
#557 - Steven Schalhorn / @Unmensch

03/20/2017 at 07:24PM

25
#558 - autological_being / @metaporias

05/03/2018 at 04:47PM

25
#559 - z0c / @zerocabal

06/11/2018 at 04:12PM

25
#560 - Adam / @askoufish

10/23/2018 at 10:10PM

25
#561 - Jasper Pangilinan / @JasperP

12/30/2018 at 10:50AM

25
#562 - Maarten Staa / @SeriousSpoon

02/28/2019 at 10:24AM

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

07/08/2019 at 11:56AM

25
#564 - Anil Narayan / @AnilNarayan2013

08/30/2020 at 06:12AM

25
#565 - Ifeoluwa Lawal / @IfeLawl

10/20/2020 at 03:58PM

25
#566 - Dat / @datdhuynh

11/11/2020 at 08:14PM

25
#567 - Laura Skillington / @lauraskills1

01/18/2021 at 09:54PM

25
#568 - Gaston / @Gaston53635525

01/25/2021 at 10:52PM

25
#569 - 장우영 / @riverlike14

02/18/2021 at 12:24PM

25
#570 - Helios / @Helios27490520

04/29/2021 at 08:52AM