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):
19
#361 - Harsh Raj / @harshraj22aug

03/05/2020 at 04:47PM

19
#362 - volandkit / @volandkit

04/22/2020 at 08:48PM

20
#363 - Banos / @deep_spoon

06/26/2016 at 01:35PM

20
#364 - Reuben Huxley / @missiontocode

06/29/2016 at 02:01AM

20
#365 - Michiel Schuurmans / @michiel95328395

07/05/2016 at 08:23AM

20
#366 - some call me mattp / @mattpep

07/15/2016 at 03:17PM

20
#367 - Ygor Bruxel / @ygorbruxel

07/17/2016 at 09:09PM

20
#368 - Diego Garcia βš’ / @drgarcia1986

07/24/2016 at 06:21PM

20
#369 - Imre Kerr / @imre_kerr

07/25/2016 at 12:25PM

20
#370 - Atrament / @Atrament

08/18/2016 at 07:06AM

20
#371 - Netrisk Cool / @C00lt0

09/29/2016 at 08:12PM

20
#372 - Chris Cummings / @mistahcummings

10/31/2016 at 12:51AM

20
#373 - Adrian Stanev / @AdrianStanev

11/05/2016 at 01:32PM

20
#374 - Mattias GABRIEL / @matou008

12/20/2016 at 10:04PM

20
#375 - Sarin Durong / @Sarin4Du

01/11/2017 at 12:49AM

20
#376 - Kevin K / @okkays

04/17/2017 at 08:01PM

20
#377 - TD Material / @abz32ghk

05/02/2017 at 06:25PM

20
#378 - grigouille / @grigouille2

07/08/2017 at 01:36PM

20
#379 - tapio / @gncnaxb

04/12/2018 at 05:21PM

20
#380 - Vaman Kulkarni / @VamaKulkarni

07/16/2018 at 11:08AM

20
#381 - Paul Inc / @hiniol1982

10/18/2018 at 07:49PM

20
#382 - JulianW / @JulianWgs

10/29/2018 at 10:37PM

20
#383 - Finn Francis / @FinnFrancis

10/30/2018 at 11:12PM

20
#384 - Bob_V / @Bob_V

12/04/2018 at 08:38PM

20
#385 - Amado Antonini / @AmadoAntonini

03/17/2019 at 05:12PM

20
#386 - Ariel Miculas / @ArielMiculas

09/19/2019 at 10:12AM

20
#387 - Daniel Beck / @daniel_beck_il

09/25/2019 at 12:36PM

20
#388 - Jason / @roosjason

04/24/2020 at 07:38AM

20
#389 - Mack Hutsell / @sellshuts

05/25/2020 at 01:15AM

20
#390 - data pata / @datapata3

05/28/2020 at 02:20PM