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

0 comments


Created by: @udioica

497 active golfers, 2208 entries

Leaderboard (lowest score wins):
20
#331 - Daniel Beck / @daniel_beck_il

09/25/2019 at 12:36PM

21
#332 - Anoop Kumar / @anooplive

06/24/2016 at 12:44AM

21
#333 - Daniel K. / @lan4k

06/24/2016 at 06:53AM

21
#334 - ふぁぼ☆りょっぴ / @tak_jmo6928

06/28/2016 at 11:49PM

21
#335 - Adam Wilson / @adamlemurwilson

07/01/2016 at 04:57PM

21
#336 - Alejandro Claro / @alejandroclaro

07/11/2016 at 02:08PM

21
#337 - isaneba / @isaneba

07/25/2016 at 03:36AM

21
#338 - Stephan Bugnon / @stephanbugnon

08/10/2016 at 03:52PM

21
#339 - George Angelopoulos / @g_usermod

08/12/2016 at 08:44AM

21
#340 - Nabarun Chatterjee / @nabarunch

08/18/2016 at 01:42PM

21
#341 - Albert Mikó / @berci1992

08/25/2016 at 08:40PM

21
#342 - javier castro / @eusipial

09/17/2016 at 03:55AM

21
#343 - Christian Rondeau / @c_rondeau

10/16/2016 at 03:20AM

21
#344 - Markus Bala / @bala4901

11/17/2016 at 01:43AM

21
#345 - Alex Gunning / @XelaGninnug

11/21/2016 at 08:25AM

21
#346 - Rodney Visser / @_Radnus

11/27/2016 at 04:08AM

21
#347 - Markus Lux / @_l0x_

01/04/2017 at 12:26PM

21
#348 - Hans Yelek / @hans_yelek

01/09/2017 at 06:07PM

21
#349 - Mark Brody / @_markbrody

03/23/2017 at 05:15AM

21
#350 - retro / @tryphopp

04/07/2017 at 06:19AM

21
#351 - g-fresh / @gfresh73684651

04/25/2017 at 09:59PM

21
#352 - ʀǟɦʊʟ ɮɦօʟǟ / @theRahulBhola

05/26/2017 at 11:25AM

21
#353 - Carl Egbert / @CarlOEgbert

06/09/2017 at 09:10PM

21
#354 - Marcin Paliwoda / @eukaliptuss

08/25/2017 at 02:37PM

21
#355 - James / @Dronak

08/28/2017 at 01:23AM

21
#356 - Paul Sohn / @pksohn

09/07/2017 at 02:56PM

21
#357 - wes / @_weslly

09/23/2017 at 11:05PM

21
#358 - Stephen Watkin / @stephen_watkin

10/07/2017 at 10:02AM

21
#359 - Ron Alexssen / @Ralexhere

10/20/2017 at 06:15PM

21
#360 - Florian Kluck / @KluckF

11/05/2017 at 07:58PM