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

0 comments


Created by: @udioica

641 active golfers, 2875 entries

Leaderboard (lowest score wins):
18
#331 - Bruce Adams / @bruceadams1054

10/10/2018 at 12:12PM

18
#332 - Dave Brda / @BrdaDave

10/31/2018 at 03:35AM

18
#333 - Andreas Nordahl / @andreasnordahl

11/17/2018 at 10:23AM

18
#334 - Tom ten Thij / @eco_coder

11/20/2018 at 10:58AM

18
#335 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:40AM

18
#336 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 05:48AM

18
#337 - Nicolas Daval / @ndaval

04/07/2019 at 07:19PM

18
#338 - Chester Yap / @Chest_ErYap

07/11/2019 at 12:54PM

18
#339 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:57AM

18
#340 - Chloe Adeline / @SimpleRabbit

08/04/2019 at 03:35AM

18
#341 - majestic sloth / @SamLlama

08/13/2019 at 02:19AM

18
#342 - Simon Wilkinson / @simondwilkinson

08/23/2019 at 10:12PM

18
#343 - Scott Taylor / @scott11X8

10/25/2019 at 12:09AM

18
#344 - Lory / @Lory46845742

11/07/2019 at 03:53PM

18
#345 - hokonch / @hokonch

12/21/2019 at 09:09AM

18
#346 - Rishabh Chatterjee / @RishabhChatte14

12/23/2019 at 09:47AM

18
#347 - Chris League / @chrisleague

02/27/2020 at 03:50PM

18
#348 - James Rayman / @jamsramen

03/05/2020 at 03:09AM

18
#349 - BnnGolfer / @BnnGolfer

03/30/2020 at 10:47PM

18
#350 - せいほう / @FICSQF

04/27/2020 at 06:28AM

18
#351 - Bob Streams / @BobStreams1

06/02/2020 at 09:50AM

18
#352 - Ed Leafe / @EdLeafe

06/19/2020 at 09:31PM

18
#353 - Edan Sneh / @edan_sneh

09/03/2020 at 07:06PM

18
#354 - Yannick / @Yannick88147038

09/12/2020 at 06:46PM

18
#355 - mjurenka / @mjurenka1

12/25/2020 at 10:44AM

18
#356 - Anh Duc TRAN / @__OwlBlaster__

01/09/2021 at 12:22AM

18
#357 - Tanzeel Kazi / @tanzeelkazi

10/13/2021 at 09:31PM

18
#358 - Giacomo Sansone / @pcineverdies

06/25/2024 at 10:15AM

19
#359 - tPenguinLTG / @tpenguinltg

06/24/2016 at 03:51PM

19
#360 - tgmeng / @lazy_fabric

06/28/2016 at 10:37AM