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):
13
#1 - Urtica dioica / @udioica

06/25/2016 at 12:17AM

13
#2 - John Braxler / @braxler

06/28/2016 at 01:15PM

13
#3 - Davide / @DvdMgr

06/29/2016 at 12:27PM

13
#4 - Marko / @suchtie

06/30/2016 at 06:18AM

13
#5 - LordFoom / @LordFoom

06/30/2016 at 09:21AM

13
#6 - Pedro Santos / @pedrosans

07/01/2016 at 04:20AM

13
#7 - Ivan De Dios / @IvantheDugtrio

07/01/2016 at 08:23AM

13
#8 - 형진 / @nmWFdFZXMI0haoR

07/03/2016 at 05:56AM

13
#9 - bluecode / @phamhieu275

07/16/2016 at 04:33PM

13
#10 - Alonzo / @tolver_a

07/21/2016 at 05:26AM

13
#11 - 刘向 / @lululau

07/21/2016 at 01:53PM

13
#12 - Petro Тrouq / @zulolosi

07/24/2016 at 07:26AM

13
#13 - Benedikt Breinbauer / @benebun

07/24/2016 at 03:35PM

13
#14 - Benjamin Espey / @bennyty

07/25/2016 at 02:50PM

13
#15 - f00b8tr / @f00b8tr5

07/30/2016 at 05:40AM

13
#16 - (,,꒪꒫꒪,,) / @sneer

07/31/2016 at 02:54PM

13
#17 - Andy Balaam / @andybalaam

08/16/2016 at 11:17AM

13
#18 - Stephen Aument / @saument

08/30/2016 at 08:57PM

13
#19 - jj johnson / @jcassj1

08/31/2016 at 12:10PM

13
#20 - jdupont655 / @jdupont655

09/02/2016 at 12:19AM

13
#21 - loki2441 / @loki2441

09/05/2016 at 12:19PM

13
#22 - hor1ace / @hor3ace

09/07/2016 at 08:28PM

13
#23 - Peter / @sunirbmag

09/12/2016 at 08:15PM

13
#24 - Nico / @_Nico_Caro

09/24/2016 at 05:45PM

13
#25 - manbogot / @gmanbor

10/01/2016 at 09:45AM

13
#26 - poke / @useraaaaaaaaaaf

10/06/2016 at 03:12PM

13
#27 - Nikos Kwlos / @Kwlos_Calling

10/08/2016 at 05:37PM

13
#28 - trx / @trxdbg

10/11/2016 at 03:40AM

13
#29 - jinx balotchnik / @balotchnik

10/14/2016 at 02:06AM

13
#30 - Brian Mego / @Major251

10/18/2016 at 03:24AM