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

0 comments


Created by: @udioica

589 active golfers, 2621 entries

Leaderboard (lowest score wins):
18
#301 - DHM / @DHM29978992

04/12/2018 at 03:56AM

18
#302 - Jonathan Camilleri / @Too_Many_Taken

05/24/2018 at 02:33PM

18
#303 - Cosmic Frog / @Cozmicfrog

06/19/2018 at 01:21PM

18
#304 - mass / @mass256

07/09/2018 at 06:49AM

18
#305 - Frank Korf / @OMGFrank

08/16/2018 at 07:27PM

18
#306 - bluemartian / @bluemartianz59

08/19/2018 at 02:53AM

18
#307 - Matt Burg / @matsbleurgh

09/14/2018 at 07:45PM

18
#308 - Bruce Adams / @bruceadams1054

10/10/2018 at 12:12PM

18
#309 - Dave Brda / @BrdaDave

10/31/2018 at 03:35AM

18
#310 - Andreas Nordahl / @andreasnordahl

11/17/2018 at 10:23AM

18
#311 - Tom ten Thij / @eco_coder

11/20/2018 at 10:58AM

18
#312 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:40AM

18
#313 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 05:48AM

18
#314 - Nicolas Daval / @ndaval

04/07/2019 at 07:19PM

18
#315 - Chester Yap / @Chest_ErYap

07/11/2019 at 12:54PM

18
#316 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:57AM

18
#317 - Chloe Adeline / @SimpleRabbit

08/04/2019 at 03:35AM

18
#318 - majestic sloth / @SamLlama

08/13/2019 at 02:19AM

18
#319 - Simon Wilkinson / @simondwilkinson

08/23/2019 at 10:12PM

18
#320 - Scott Taylor / @scott11X8

10/25/2019 at 12:09AM

18
#321 - Lory / @Lory46845742

11/07/2019 at 03:53PM

18
#322 - hokonch / @hokonch

12/21/2019 at 09:09AM

18
#323 - Rishabh Chatterjee / @RishabhChatte14

12/23/2019 at 09:47AM

18
#324 - Chris League / @chrisleague

02/27/2020 at 03:50PM

18
#325 - James Rayman / @jamsramen

03/05/2020 at 03:09AM

18
#326 - BnnGolfer / @BnnGolfer

03/30/2020 at 10:47PM

18
#327 - せいほう / @FICSQF

04/27/2020 at 06:28AM

18
#328 - Bob Streams / @BobStreams1

06/02/2020 at 09:50AM

18
#329 - Ed Leafe / @EdLeafe

06/19/2020 at 09:31PM

18
#330 - Edan Sneh / @edan_sneh

09/03/2020 at 07:06PM