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

0 comments


Created by: @udioica

609 active golfers, 2736 entries

Leaderboard (lowest score wins):
25
#541 - Anil Narayan / @AnilNarayan2013

08/30/2020 at 06:12AM

25
#542 - Ifeoluwa Lawal / @IfeLawl

10/20/2020 at 03:58PM

25
#543 - Dat / @datdhuynh

11/11/2020 at 08:14PM

25
#544 - Laura Skillington / @lauraskills1

01/18/2021 at 09:54PM

26
#545 - Max / @Max77140

07/06/2016 at 10:55AM

26
#546 - Rob Smolinski / @scottymcribs

07/04/2017 at 12:48AM

26
#547 - Brent Woo / @BrentPWoo

10/03/2018 at 07:40PM

26
#548 - Oren Koriat / @KoriatOren

12/07/2018 at 10:31PM

26
#549 - gtgtgt02 / @gtgtgt02

03/30/2019 at 01:46PM

26
#550 - Andrew Ferrier / @andrewferrier

07/11/2019 at 09:55PM

26
#551 - Greg Lee / @real_gregliest

04/01/2020 at 06:09AM

26
#552 - RockerZZY / @rocker_zzy

05/31/2020 at 01:52PM

26
#553 - lzh / @ly_zhng

06/14/2020 at 04:47PM

26
#554 - Daniel Habib / @danielhvs

07/23/2020 at 02:52AM

27
#555 - FunkySayu / @FunkySayu

06/29/2016 at 04:10PM

27
#556 - Rebecca Clarkson / @ClarksonRL

10/09/2017 at 04:02PM

27
#557 - tuyen / @tuyen66827418

11/27/2018 at 04:30PM

27
#558 - Sebastian / @dersharky

03/14/2019 at 07:59PM

27
#559 - Vim Golfer / @VimGolfer6

08/05/2019 at 11:53AM

27
#560 - trvshrmn / @trvshrmn

07/16/2020 at 01:49PM

27
#561 - drGsus / @drGsus

07/26/2020 at 10:24AM

28
#562 - emmanuel delgado / @chischaschos

06/28/2016 at 05:11AM

28
#563 - Ilker Mutlu / @ilkermutlu

06/30/2016 at 03:21PM

28
#564 - AODQ / @AODQIG

08/20/2016 at 07:19PM

28
#565 - Bennett / @bennettbackward

12/19/2018 at 03:23AM

28
#566 - Bruno Machado / @brunosmmachado

10/20/2019 at 02:23PM

28
#567 - Kaustubh Murumkar / @k_austub_h

08/31/2020 at 09:01PM

29
#568 - George Aiken / @QuackBookPro

07/05/2016 at 12:58PM

29
#569 - Matt Walsh / @wattmalsh

02/03/2017 at 06:52PM

29
#570 - Maas Lalani / @maaslalani

12/05/2018 at 09:09PM