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

0 comments


Created by: @udioica

432 active golfers, 1855 entries

Leaderboard (lowest score wins):
21
#301 - Rodney Visser / @_Radnus

11/27/2016 at 04:08AM

21
#302 - Markus Lux / @_l0x_

01/04/2017 at 12:26PM

21
#303 - Hans Yelek / @hans_yelek

01/09/2017 at 06:07PM

21
#304 - Mark Brody / @_markbrody

03/23/2017 at 05:15AM

21
#305 - retro / @tryphopp

04/07/2017 at 06:19AM

21
#306 - g-fresh / @gfresh73684651

04/25/2017 at 09:59PM

21
#307 - ʀǟɦʊʟ ɮɦօʟǟ / @theRahulBhola

05/26/2017 at 11:25AM

21
#308 - Carl Egbert / @CarlOEgbert

06/09/2017 at 09:10PM

21
#309 - Marcin Paliwoda / @eukaliptuss

08/25/2017 at 02:37PM

21
#310 - James / @Dronak

08/28/2017 at 01:23AM

21
#311 - Paul Sohn / @pksohn

09/07/2017 at 02:56PM

21
#312 - wes / @_weslly

09/23/2017 at 11:05PM

21
#313 - Stephen Watkin / @stephen_watkin

10/07/2017 at 10:02AM

21
#314 - Ron Alexssen / @Ralexhere

10/20/2017 at 06:15PM

21
#315 - Florian Kluck / @KluckF

11/05/2017 at 07:58PM

21
#316 - Bradley M. Small / @BradleySmall

01/03/2018 at 01:18PM

21
#317 - TachyG / @Tachypsychique

01/29/2018 at 01:52PM

21
#318 - martin tourneboeuf / @martintournebo1

01/31/2018 at 09:48PM

21
#319 - Michael D Jones / @biotechjones

02/03/2018 at 09:35PM

21
#320 - slicklash / @slicklash

03/01/2018 at 02:14PM

21
#321 - vimthrowaway / @vimgolf_throw

03/30/2018 at 06:25PM

21
#322 - prince ducaca / @prince_du_caca

09/27/2018 at 11:20PM

21
#323 - PJ Frazer / @pj_frazer

11/22/2018 at 10:18PM

21
#324 - Luis Rodriguez / @luisthecoder

01/06/2019 at 03:15PM

21
#325 - wrglprmft / @wrglprmft

01/19/2019 at 10:12PM

21
#326 - Артем Мухометзянов / @Timon_Surikat

01/31/2019 at 10:32AM

21
#327 - sisi100 / @s1si100

02/26/2019 at 03:55AM

22
#328 - Laurion Burchall / @laurionb

06/28/2016 at 10:34PM

22
#329 - Oliver Christ / @0liverChrist

07/12/2016 at 09:41PM

22
#330 - Nicholas DiSanto / @cozzzmo

07/28/2016 at 03:32PM