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

0 comments


Created by: @udioica

557 active golfers, 2483 entries

Leaderboard (lowest score wins):
27
#511 - Rebecca Clarkson / @ClarksonRL

10/09/2017 at 04:02PM

27
#512 - tuyen / @tuyen66827418

11/27/2018 at 04:30PM

27
#513 - Sebastian / @dersharky

03/14/2019 at 07:59PM

27
#514 - Vim Golfer / @VimGolfer6

08/05/2019 at 11:53AM

28
#515 - emmanuel delgado / @chischaschos

06/28/2016 at 05:11AM

28
#516 - Ilker Mutlu / @ilkermutlu

06/30/2016 at 03:21PM

28
#517 - AODQ / @AODQIG

08/20/2016 at 07:19PM

28
#518 - Bennett / @bennettbackward

12/19/2018 at 03:23AM

28
#519 - Bruno Machado / @brunosmmachado

10/20/2019 at 02:23PM

28
#520 - Yannick / @Yannick88147038

06/12/2020 at 03:43PM

29
#521 - George Aiken / @QuackBookPro

07/05/2016 at 12:58PM

29
#522 - Matt Walsh / @wattmalsh

02/03/2017 at 06:52PM

29
#523 - Maas Lalani / @maaslalani

12/05/2018 at 09:09PM

29
#524 - Hayden Wang / @HaydenWang2

07/31/2019 at 09:02AM

29
#525 - bakusuta / @bakusuta3

09/09/2019 at 01:17PM

29
#526 - Saransh Barua / @_saranshbarua

03/28/2020 at 05:06PM

30
#527 - Hugh / @thereal_hugh

06/30/2016 at 12:40AM

30
#528 - Graham Singer / @grahamsinger

03/12/2019 at 12:29AM

30
#529 - Aaron / @_Lordofthevoid_

11/26/2019 at 01:39PM

31
#530 - Rajasegar Chandran / @rajasegar_c

09/25/2019 at 06:57AM

32
#531 - Lydia Cupery / @LCupery

04/15/2018 at 02:41AM

32
#532 - Ola Johansson / @oj_johansson

04/21/2018 at 07:25PM

32
#533 - Iggy / @iggredible

09/24/2019 at 03:28AM

32
#534 - Jacob Shomstein / @jshoms

06/29/2020 at 02:34AM

34
#535 - Colby Pines / @wcpines

01/11/2017 at 04:30PM

34
#536 - Steve Lemuel / @Steve_Lemuel

05/04/2017 at 10:33AM

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

07/31/2019 at 02:39AM

35
#538 - Andrew Hanlon / @AndrewDHanlon

10/13/2016 at 12:15AM

36
#539 - Sergio Soares / @sergsoares

04/24/2020 at 03:28AM

37
#540 - rg thomas / @rgt47

09/01/2018 at 02:14AM