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 @herbage2:

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

641 active golfers, 2875 entries

Solutions by @herbage2:
13
#79 - herbage / @herbage2

01/01/2018 at 09:40PM

15
#>226 - herbage / @herbage2

01/01/2018 at 09:38PM

16
#>262 - herbage / @herbage2

01/01/2018 at 09:33PM

17
#>282 - herbage / @herbage2

01/01/2018 at 09:25PM

18
#>321 - herbage / @herbage2

01/01/2018 at 02:10PM

18
#>321 - herbage / @herbage2

01/01/2018 at 09:23PM

20
#>408 - herbage / @herbage2

01/01/2018 at 02:07PM

21
#>456 - herbage / @herbage2

01/01/2018 at 11:23AM

22
#>495 - herbage / @herbage2

01/01/2018 at 11:19AM

26
#>572 - herbage / @herbage2

12/11/2016 at 02:26PM

40
#>630 - herbage / @herbage2

12/31/2017 at 12:30AM

45
#>633 - herbage / @herbage2

12/31/2017 at 12:29AM