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):
19
#241 - Florent Jaby / @Floby

10/09/2018 at 11:58AM

19
#242 - Sxcy / @SxcyX

10/22/2018 at 02:09PM

19
#243 - m472 / @m4729

10/27/2018 at 08:42PM

19
#244 - Kasparas Lavrukaitis / @kaslvr

11/07/2018 at 04:06PM

20
#245 - Panos / @panos_giannak

06/26/2016 at 01:35PM

20
#246 - Reuben Huxley / @missiontocode

06/29/2016 at 02:01AM

20
#247 - Michiel Schuurmans / @michiel95328395

07/05/2016 at 08:23AM

20
#248 - some call me mattp / @mattpep

07/15/2016 at 03:17PM

20
#249 - Ygor Bruxel / @ygorbruxel

07/17/2016 at 09:09PM

20
#250 - Diego Garcia ⚒ / @drgarcia1986

07/24/2016 at 06:21PM

20
#251 - Imre Kerr / @imre_kerr

07/25/2016 at 12:25PM

20
#252 - Atrament / @Atrament

08/18/2016 at 07:06AM

20
#253 - Netrisk Cool / @C00lt0

09/29/2016 at 08:12PM

20
#254 - Chris Cummings / @mistahcummings

10/31/2016 at 12:51AM

20
#255 - Adrian Stanev / @AdrianStanev

11/05/2016 at 01:32PM

20
#256 - Mattias GABRIEL / @matou008

12/20/2016 at 10:04PM

20
#257 - Sarin Durong / @Sarin4Du

01/11/2017 at 12:49AM

20
#258 - Kevin K / @okkays

04/17/2017 at 08:01PM

20
#259 - TD Material / @abz32ghk

05/02/2017 at 06:25PM

20
#260 - grigouille / @grigouille2

07/08/2017 at 01:36PM

20
#261 - tapio / @gncnaxb

04/12/2018 at 05:21PM

20
#262 - Vaman Kulkarni / @VamaKulkarni

07/16/2018 at 11:08AM

20
#263 - Paul Inc / @hiniol1982

10/18/2018 at 07:49PM

20
#264 - JulianW / @JulianWgs

10/29/2018 at 10:37PM

20
#265 - Finn Francis / @FinnFrancis

10/30/2018 at 11:12PM

21
#266 - Anoop Kumar / @anooplive

06/24/2016 at 12:44AM

21
#267 - Daniel K. / @lan4k

06/24/2016 at 06:53AM

21
#268 - ふぁぼ☆りょっぴ / @tak_jmo6928

06/28/2016 at 11:49PM

21
#269 - Adam Wilson / @adamlemurwilson

07/01/2016 at 04:57PM

21
#270 - Alejandro Claro / @alejandroclaro

07/11/2016 at 02:08PM