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
#181 - Alex / @AlexanderHeatl2

07/06/2022 at 05:24PM

13
#182 - z00master / @z00master

08/19/2022 at 06:31AM

13
#183 - Janzen / @__Coos

10/02/2022 at 02:53AM

13
#184 - Jonathan El-Khoury / @jonoelk

05/01/2024 at 06:54AM

13
#185 - Peppa Pig / @PeppaPigSg

05/05/2024 at 03:47AM

14
#186 - Jeanno / @JeannoHS

06/27/2016 at 03:59AM

14
#187 - Perry van Schaijk / @PvSchaijk

06/30/2016 at 01:22PM

14
#188 - Sandeep Dhavale / @sandeep_dhavale

07/19/2016 at 10:09PM

14
#189 - hyhit / @hyhit2

08/01/2016 at 03:13AM

14
#190 - Chris Hampson / @ChrisHampsonGTD

10/15/2016 at 11:42AM

14
#191 - Igor Czerwinski / @igoratron

10/23/2016 at 01:12PM

14
#192 - Phoenix / @betentacled

10/25/2016 at 11:46PM

14
#193 - Alan Turing / @alantrng

11/14/2016 at 06:31AM

14
#194 - Dimitar Ivanov / @dimisthoughts

03/20/2017 at 03:33AM

14
#195 - Tyler Holien / @tylerholien

03/27/2017 at 04:12AM

14
#196 - Jason Hooper 🇨🇦 / @jasonincanada

04/23/2017 at 01:43AM

14
#197 - aselaIllayaparachchi / @asela38

08/25/2017 at 03:15AM

14
#198 - garry quested / @GQuested

10/24/2017 at 01:52PM

15
#199 - Kerson Hsiao / @KersonHsiao

06/28/2016 at 06:15AM

15
#200 - "Smylers" / @Smylers2

06/28/2016 at 10:11AM

15
#201 - Saki Gw / @Sakigw

06/28/2016 at 04:57PM

15
#202 - barak happy / @barakhaviv

06/28/2016 at 09:32PM

15
#203 - Alex Rod. / @thealex23ro

06/29/2016 at 08:29PM

15
#204 - Lifepillar / @lifepillar

06/30/2016 at 07:49PM

15
#205 - Darius Smaliukas / @daraz999

07/19/2016 at 01:11PM

15
#206 - Bran / @brandypix

07/22/2016 at 10:29PM

15
#207 - Jeremiah Goyette / @JeremiahGoyette

07/30/2016 at 06:04AM

15
#208 - Vaughn Cato / @vaughncato

08/07/2016 at 05:31PM

15
#209 - jaresty / @jaresty

08/18/2016 at 06:39PM

15
#210 - Paulo Dalla Santa / @pdallasanta

08/19/2016 at 07:42PM