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

0 comments


Created by: @udioica

557 active golfers, 2483 entries

Leaderboard (lowest score wins):
16
#241 - MGJoe93 / @mgjoe93

03/11/2019 at 05:44PM

16
#242 - Johannes / @jossi166

03/22/2019 at 02:03AM

16
#243 - Alex Mihov / @AlexMihov

04/04/2019 at 01:42PM

16
#244 - Matt Aschmann / @ma7hatter

12/27/2019 at 10:05PM

17
#245 - Jon Krause / @jkrause314

06/24/2016 at 05:28PM

17
#246 - Birdie McPar / @BirdieMcPar

06/29/2016 at 09:09PM

17
#247 - Girish Gokul / @girishgoku

07/14/2016 at 03:56AM

17
#248 - Quinn From The Pack / @fuck_saturn

07/25/2016 at 11:47AM

17
#249 - Marty Boren / @beanmaximalist

05/05/2017 at 02:46AM

17
#250 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:41AM

17
#251 - Evgeny`s Kindle / @EvgenyKindle

04/23/2018 at 02:54PM

17
#252 - Jo / @Jo59893132

10/25/2018 at 05:51AM

17
#253 - vg / @vg53210350

10/28/2018 at 11:35PM

17
#254 - zenwalker / @zenwalker93

03/10/2019 at 04:30PM

17
#255 - serent / @serent

03/26/2019 at 09:36PM

17
#256 - Scott / @chil2

04/01/2019 at 09:12PM

17
#257 - Neil Struthers / @struthersneil

07/18/2019 at 02:40PM

17
#258 - TimMcGuire / @mcguire

01/31/2020 at 10:13PM

17
#259 - Ryan Nevius / @ryannevius

03/23/2020 at 07:06AM

18
#260 - Cristian Lupașcu / @clupasq

06/24/2016 at 08:20AM

18
#261 - Eduardo / @earada

06/24/2016 at 11:20AM

18
#262 - Kinster Ramscote / @RamscoteAgjbba

06/25/2016 at 10:09AM

18
#263 - Timothy Caleb Nordlo / @tnordloh

06/26/2016 at 03:12AM

18
#264 - we’re going to need a bigger bot / @assaflavie

06/27/2016 at 05:41PM

18
#265 - David Millman / @dlmillman

06/28/2016 at 04:48AM

18
#266 - IHanafusa / @FuwattoFlower

06/28/2016 at 03:26PM

18
#267 - Avery Wilkening / @awilkening

06/28/2016 at 04:53PM

18
#268 - Roger Bird / @freebirddongoll

06/30/2016 at 06:30AM

18
#269 - Charles Qian / @aWarmWalrus

07/12/2016 at 10:30PM

18
#270 - イーサン / @metakirby5

08/18/2016 at 10:30PM