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

0 comments


Created by: @udioica

639 active golfers, 2869 entries

Leaderboard (lowest score wins):
29
#601 - nisja / @nisja5

08/25/2020 at 02:14AM

30
#602 - Hugh / @thereal_hugh

06/30/2016 at 12:40AM

30
#603 - Graham Singer / @grahamsinger

03/12/2019 at 12:29AM

30
#604 - Aaron / @_Lordofthevoid_

11/26/2019 at 01:39PM

30
#605 - tyuktu / @tyuk_tu

11/19/2020 at 11:55PM

31
#606 - Rajasegar Chandran / @rajasegar_c

09/25/2019 at 06:57AM

32
#607 - Lydia Cupery / @LCupery

04/15/2018 at 02:41AM

32
#608 - Ola Johansson / @oj_johansson

04/21/2018 at 07:25PM

32
#609 - Iggy / @iggredible

09/24/2019 at 03:28AM

32
#610 - Jacob Shomstein / @jshoms

06/29/2020 at 02:34AM

34
#611 - Colby Pines / @wcpines

01/11/2017 at 04:30PM

34
#612 - Steve Lemuel / @Steve_Lemuel

05/04/2017 at 10:33AM

34
#613 - Vinni Carlo Caños / @vinnicc

07/31/2019 at 02:39AM

35
#614 - Andrew Hanlon / @AndrewDHanlon

10/13/2016 at 12:15AM

36
#615 - Sergio Soares / @sergsoares

04/24/2020 at 03:28AM

36
#616 - Карл / @tb_ism

07/22/2021 at 03:56PM

37
#617 - rg thomas / @rgt47

09/01/2018 at 02:14AM

37
#618 - Briana Baker / @brianacodes

12/21/2018 at 08:20PM

38
#619 - Nico Jansen / @nicojansen1804

01/03/2017 at 06:20PM

38
#620 - drr3w / @droo5ki

11/05/2020 at 03:44AM

39
#621 - Alex Budilovsky / @alexbudy

05/02/2018 at 02:06AM

39
#622 - Jurica / @Jurica34581259

11/15/2018 at 12:57AM

39
#623 - Matt Zanchelli / @mdznr

04/03/2019 at 11:01PM

39
#624 - kijete3127 / @kijete3127

12/13/2020 at 05:05PM

39
#625 - fff / @fff51460170

02/20/2021 at 03:43PM

39
#626 - 咸糖🎯 / @GIA917229015

07/13/2023 at 04:12PM

40
#627 - J-F R. / @RheaultJF

11/17/2016 at 10:51PM

40
#628 - Adam Kożuch / @adamkozuch

04/06/2017 at 07:44AM

41
#629 - Bart3k / @Bart3k3

09/12/2018 at 06:31AM

43
#630 - Charlie Kruczko / @CharlieKruczko

09/07/2020 at 10:23PM