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

0 comments


Created by: @udioica

579 active golfers, 2574 entries

Leaderboard (lowest score wins):
18
#301 - Dave Brda / @BrdaDave

10/31/2018 at 03:35AM

18
#302 - Andreas Nordahl / @andreasnordahl

11/17/2018 at 10:23AM

18
#303 - Tom ten Thij / @eco_coder

11/20/2018 at 10:58AM

18
#304 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:40AM

18
#305 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 05:48AM

18
#306 - Nicolas Daval / @ndaval

04/07/2019 at 07:19PM

18
#307 - Chester Yap / @Chest_ErYap

07/11/2019 at 12:54PM

18
#308 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:57AM

18
#309 - Chloe Adeline / @SimpleRabbit

08/04/2019 at 03:35AM

18
#310 - majestic sloth / @SamLlama

08/13/2019 at 02:19AM

18
#311 - Simon Wilkinson / @simondwilkinson

08/23/2019 at 10:12PM

18
#312 - Scott Taylor / @scott11X8

10/25/2019 at 12:09AM

18
#313 - Lory / @Lory46845742

11/07/2019 at 03:53PM

18
#314 - hokonch / @hokonch

12/21/2019 at 09:09AM

18
#315 - Rishabh Chatterjee / @RishabhChatte14

12/23/2019 at 09:47AM

18
#316 - Chris League / @chrisleague

02/27/2020 at 03:50PM

18
#317 - James Rayman / @jamsramen

03/05/2020 at 03:09AM

18
#318 - BnnGolfer / @BnnGolfer

03/30/2020 at 10:47PM

18
#319 - せいほう / @FICSQF

04/27/2020 at 06:28AM

18
#320 - Bob Streams / @BobStreams1

06/02/2020 at 09:50AM

18
#321 - Ed Leafe / @EdLeafe

06/19/2020 at 09:31PM

18
#322 - Edan Sneh / @edan_sneh

09/03/2020 at 07:06PM

18
#323 - Yannick / @Yannick88147038

09/12/2020 at 06:46PM

19
#324 - tPenguinLTG / @tpenguinltg

06/24/2016 at 03:51PM

19
#325 - tgmeng / @lazy_fabric

06/28/2016 at 10:37AM

19
#326 - Zed Byrne / @ZeByrne

06/28/2016 at 03:51PM

19
#327 - Amory Schlender / @schlamory

07/08/2016 at 04:30AM

19
#328 - 王运 / @640138017

07/10/2016 at 02:57PM

19
#329 - Ryan van Rensburg / @rdvr001

07/16/2016 at 08:53PM

19
#330 - 青木 美将 / @YoshimasaAoki

08/03/2016 at 08:24AM