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 by @mrGustaphe:

Unlock 11 remaining solutions by signing in and submitting your own entry
Created by: @udioica

641 active golfers, 2875 entries

Solutions by @mrGustaphe:
17
#282 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:41AM

18
#>317 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:38AM

20
#>407 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:37AM

21
#>448 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:35AM

23
#>523 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:35AM

24
#>544 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:34AM

25
#>557 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:34AM

28
#>593 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:31AM

29
#>598 - David Gustavsson / @mrGustaphe

06/09/2017 at 08:40AM

33
#>612 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:14AM

40
#>630 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:13AM