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

0 comments


Created by: @udioica

395 active golfers, 1666 entries

Leaderboard (lowest score wins):
17
#181 - marty / @computerliker

05/05/2017 at 02:46AM

17
#182 - David Gustavsson / @mrGustaphe

06/09/2017 at 09:41AM

17
#183 - Evgeny`s Kindle / @EvgenyKindle

04/23/2018 at 02:54PM

17
#184 - Jo / @Jo59893132

10/25/2018 at 05:51AM

17
#185 - vg / @vg53210350

10/28/2018 at 11:35PM

18
#186 - Cristian Lupașcu / @clupasq

06/24/2016 at 08:20AM

18
#187 - Eduardo / @earada

06/24/2016 at 11:20AM

18
#188 - Kinster Ramscote / @RamscoteAgjbba

06/25/2016 at 10:09AM

18
#189 - Timothy Caleb Nordlo / @tnordloh

06/26/2016 at 03:12AM

18
#190 - SIGHODL / @AssafLavie

06/27/2016 at 05:41PM

18
#191 - David Millman / @dlmillman

06/28/2016 at 04:48AM

18
#192 - IHanafusa / @FuwattoFlower

06/28/2016 at 03:26PM

18
#193 - Avery Wilkening / @awilkening

06/28/2016 at 04:53PM

18
#194 - Roger Bird / @freebirddongoll

06/30/2016 at 06:30AM

18
#195 - Charles Qian / @aWarmWalrus

07/12/2016 at 10:30PM

18
#196 - イーサン / @metakirby5

08/18/2016 at 10:30PM

18
#197 - citaret / @citaret

08/25/2016 at 01:04PM

18
#198 - Jonathan Elliott / @jon__elliott

11/02/2016 at 01:02AM

18
#199 - 張育瑄 / @harry830622

11/10/2016 at 09:21AM

18
#200 - Michał Dytko / @DytkoM

12/19/2016 at 09:26AM

18
#201 - Jan Eisenhauer / @EisenhauerJan

12/23/2016 at 10:33PM

18
#202 - xwle / @xwle

03/12/2017 at 07:18AM

18
#203 - Pratik Prasad / @pratik

04/30/2017 at 04:05PM

18
#204 - Clement Keirua / @clemkeirua

05/06/2017 at 10:19PM

18
#205 - Karl Hepler / @oldtimeguitar

05/25/2017 at 06:15PM

18
#206 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 10:26AM

18
#207 - Charlie OConor / @charlieoconor

09/29/2017 at 06:43AM

18
#208 - Elton Kamami / @pixel_grid

10/09/2017 at 08:53PM

18
#209 - BareTull / @BareTull3

12/07/2017 at 01:44PM

18
#210 - Sebastian Wieland / @oktupol

01/19/2018 at 02:40PM