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):
19
#391 - 蔡徐坤真是爱吃屎 / @Hashub7

01/20/2021 at 03:14PM

19
#392 - Alex Davis / @AlexDav75555918

01/21/2021 at 05:20AM

20
#393 - Banos / @deep_spoon

06/26/2016 at 01:35PM

20
#394 - Reuben Huxley / @missiontocode

06/29/2016 at 02:01AM

20
#395 - Michiel Schuurmans / @michiel95328395

07/05/2016 at 08:23AM

20
#396 - mattp (part of the 💉💉💉 club) / @mattpep

07/15/2016 at 03:17PM

20
#397 - Ygor Bruxel / @ygorbruxel

07/17/2016 at 09:09PM

20
#398 - Diego Garcia ⚒ / @drgarcia1986

07/24/2016 at 06:21PM

20
#399 - Imre Kerr / @imre_kerr

07/25/2016 at 12:25PM

20
#400 - Atrament / @Atrament

08/18/2016 at 07:06AM

20
#401 - Netrisk Cool / @C00lt0

09/29/2016 at 08:12PM

20
#402 - Chris Cummings / @mistahcummings

10/31/2016 at 12:51AM

20
#403 - Adrian Stanev / @AdrianStanev

11/05/2016 at 01:32PM

20
#404 - Mattias GABRIEL / @matou008

12/20/2016 at 10:04PM

20
#405 - Sarin Durong / @Sarin4Du

01/11/2017 at 12:49AM

20
#406 - Kevin K / @okkays

04/17/2017 at 08:01PM

20
#407 - TD Material / @abz32ghk

05/02/2017 at 06:25PM

20
#408 - grigouille / @grigouille2

07/08/2017 at 01:36PM

20
#409 - tapio / @gncnaxb

04/12/2018 at 05:21PM

20
#410 - Vaman Kulkarni / @VamaKulkarni

07/16/2018 at 11:08AM

20
#411 - Paul Inc / @hiniol1982

10/18/2018 at 07:49PM

20
#412 - JulianW / @JulianWgs

10/29/2018 at 10:37PM

20
#413 - Finn Francis / @FinnFrancis

10/30/2018 at 11:12PM

20
#414 - Bob_V / @Bob_V

12/04/2018 at 08:38PM

20
#415 - Amado Antonini / @AmadoAntonini

03/17/2019 at 05:12PM

20
#416 - Ariel Miculas / @ArielMiculas

09/19/2019 at 10:12AM

20
#417 - Daniel Beck / @daniel_beck_il

09/25/2019 at 12:36PM

20
#418 - Jason / @roosjason

04/24/2020 at 07:38AM

20
#419 - Mack Hutsell / @sellshuts

05/25/2020 at 01:15AM

20
#420 - data pata / @datapata3

05/28/2020 at 02:20PM