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

0 comments


Created by: @udioica

464 active golfers, 2030 entries

Leaderboard (lowest score wins):
25
#421 - Березницкий Вадим / @vad1mster

07/08/2019 at 11:56AM

26
#422 - Max / @Max77140

07/06/2016 at 10:55AM

26
#423 - Rob Smolinski / @scottymcribs

07/04/2017 at 12:48AM

26
#424 - Brent Woo / @BrentPWoo

10/03/2018 at 07:40PM

26
#425 - Oren Koriat / @KoriatOren

12/07/2018 at 10:31PM

26
#426 - gtgtgt02 / @gtgtgt02

03/30/2019 at 01:46PM

26
#427 - Andrew Ferrier / @andrewferrier

07/11/2019 at 09:55PM

27
#428 - FunkySayu / @FunkySayu

06/29/2016 at 04:10PM

27
#429 - Rebecca Clarkson / @ClarksonRL

10/09/2017 at 04:02PM

27
#430 - tuyen / @tuyen66827418

11/27/2018 at 04:30PM

27
#431 - Sebastian / @dersharky

03/14/2019 at 07:59PM

28
#432 - emmanuel delgado / @chischaschos

06/28/2016 at 05:11AM

28
#433 - Ilker Mutlu / @ilkermutlu

06/30/2016 at 03:21PM

28
#434 - AODQ / @AODQIG

08/20/2016 at 07:19PM

28
#435 - Bennett / @bennettbackward

12/19/2018 at 03:23AM

29
#436 - George Aiken / @QuackBookPro

07/05/2016 at 12:58PM

29
#437 - Matt Walsh / @wattmalsh

02/03/2017 at 06:52PM

29
#438 - Maas Lalani / @maaslalani

12/05/2018 at 09:09PM

30
#439 - Hugh / @thereal_hugh

06/30/2016 at 12:40AM

30
#440 - Graham Singer / @grahamsinger

03/12/2019 at 12:29AM

31
#441 - TimMcGuire / @mcguire

02/01/2019 at 06:29PM

32
#442 - Lydia Cupery / @LCupery

04/15/2018 at 02:41AM

32
#443 - Ola Johansson / @oj_johansson

04/21/2018 at 07:25PM

34
#444 - Colby Pines / @wcpines

01/11/2017 at 04:30PM

34
#445 - Steve Lemuel / @Steve_Lemuel

05/04/2017 at 10:33AM

35
#446 - Andrew Hanlon / @AndrewDHanlon

10/13/2016 at 12:15AM

37
#447 - rg thomas / @rgt47

09/01/2018 at 02:14AM

37
#448 - Briana Baker / @brianacodes

12/21/2018 at 08:20PM

38
#449 - Nico Jansen / @nicojansen1804

01/03/2017 at 06:20PM

39
#450 - Alex Budilovsky / @alexbudy

05/02/2018 at 02:06AM