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

0 comments


Created by: @udioica

476 active golfers, 2085 entries

Leaderboard (lowest score wins):
20
#301 - Netrisk Cool / @C00lt0

09/29/2016 at 08:12PM

20
#302 - Chris Cummings / @mistahcummings

10/31/2016 at 12:51AM

20
#303 - Adrian Stanev / @AdrianStanev

11/05/2016 at 01:32PM

20
#304 - Mattias GABRIEL / @matou008

12/20/2016 at 10:04PM

20
#305 - Sarin Durong / @Sarin4Du

01/11/2017 at 12:49AM

20
#306 - Kevin K / @okkays

04/17/2017 at 08:01PM

20
#307 - TD Material / @abz32ghk

05/02/2017 at 06:25PM

20
#308 - grigouille / @grigouille2

07/08/2017 at 01:36PM

20
#309 - tapio / @gncnaxb

04/12/2018 at 05:21PM

20
#310 - Vaman Kulkarni / @VamaKulkarni

07/16/2018 at 11:08AM

20
#311 - Paul Inc / @hiniol1982

10/18/2018 at 07:49PM

20
#312 - JulianW / @JulianWgs

10/29/2018 at 10:37PM

20
#313 - Finn Francis / @FinnFrancis

10/30/2018 at 11:12PM

20
#314 - Bob_V / @Bob_V

12/04/2018 at 08:38PM

20
#315 - Amado Antonini / @AmadoAntonini

03/17/2019 at 05:12PM

21
#316 - Anoop Kumar / @anooplive

06/24/2016 at 12:44AM

21
#317 - Daniel K. / @lan4k

06/24/2016 at 06:53AM

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

06/28/2016 at 11:49PM

21
#319 - Adam Wilson / @adamlemurwilson

07/01/2016 at 04:57PM

21
#320 - Alejandro Claro / @alejandroclaro

07/11/2016 at 02:08PM

21
#321 - isaneba / @isaneba

07/25/2016 at 03:36AM

21
#322 - Stephan Bugnon / @stephanbugnon

08/10/2016 at 03:52PM

21
#323 - George Angelopoulos / @g_usermod

08/12/2016 at 08:44AM

21
#324 - Nabarun Chatterjee / @nabarunch

08/18/2016 at 01:42PM

21
#325 - Albert Mikó / @berci1992

08/25/2016 at 08:40PM

21
#326 - javier castro / @eusipial

09/17/2016 at 03:55AM

21
#327 - Christian Rondeau / @c_rondeau

10/16/2016 at 03:20AM

21
#328 - Markus Bala / @bala4901

11/17/2016 at 01:43AM

21
#329 - Alex Gunning / @XelaGninnug

11/21/2016 at 08:25AM

21
#330 - Rodney Visser / @_Radnus

11/27/2016 at 04:08AM