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

0 comments


Created by: @udioica

476 active golfers, 2085 entries

Leaderboard (lowest score wins):
13
#91 - Paul Jones / @thepauljones

06/25/2018 at 08:59AM

13
#92 - Daniël De Koker / @daniel_koker

07/01/2018 at 11:39AM

13
#93 - 赤佐田奈葉 / @akasatanaha_

07/03/2018 at 02:12AM

13
#94 - sspan / @sspantz

07/03/2018 at 03:49AM

13
#95 - Henry Woolenthorpe / @woolenthorpe

07/05/2018 at 07:10AM

13
#96 - Chris Dean / @ChrisDe62379742

07/12/2018 at 04:13AM

13
#97 - Francesco Sacchi / @depsir

07/25/2018 at 02:09PM

13
#98 - Andrew Peterson / @FungalRaincloud

07/29/2018 at 10:18PM

13
#99 - Artūras Zakrevskis / @AZakrevskis

08/02/2018 at 03:37PM

13
#100 - fucus / @fishlovebanana

08/03/2018 at 06:23AM

13
#101 - Hugo / @szeyattai

08/20/2018 at 07:37AM

13
#102 - Jeff / @sir_wiggles3

09/09/2018 at 01:37AM

13
#103 - royer / @RoyerMoyer1

09/23/2018 at 04:30PM

13
#104 - Benjamin Kiesl / @BenjaminKiesl

10/18/2018 at 12:22PM

13
#105 - Dax / @zacoxi

11/01/2018 at 02:14AM

13
#106 - i33 / @i3342th

11/03/2018 at 01:49AM

13
#107 - Fabio Branquinho / @branquif

11/08/2018 at 08:40PM

13
#108 - dyson dark / @U9gJt7mOEOjbRN7

11/17/2018 at 06:22PM

13
#109 - Lucas Nussbaum / @LucasNussbaum

11/28/2018 at 06:06PM

13
#110 - Mihai / @mihaicristiant

12/03/2018 at 09:59AM

13
#111 - guxbug / @guxbug1

12/21/2018 at 04:19PM

13
#112 - Ackman Syntax Error / @AckmanSux

12/24/2018 at 12:23PM

13
#113 - Artur Mróz / @MrozArtur

12/29/2018 at 06:31PM

13
#114 - abgalphabet / @abgalphabet

01/17/2019 at 02:36PM

13
#115 - T A / @SirAviles

02/13/2019 at 01:11AM

13
#116 - 默罕默德 / @Rt6RjEAJ987Woes

02/17/2019 at 06:48AM

13
#117 - ahm4711 / @ahm4711

03/02/2019 at 08:03PM

13
#118 - james_bunch / @james_bunch

03/23/2019 at 06:59PM

13
#119 - enji / @enji_ja

04/01/2019 at 12:57AM

13
#120 - royaso / @royaso

04/13/2019 at 03:14PM