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):
13
#61 - Remus Dalrymple / @bornintheflames

05/03/2017 at 03:59AM

13
#62 - Allen | Wheels / @SRWheel5

05/04/2017 at 05:26PM

13
#63 - Brad Brown / @zoocat

05/07/2017 at 02:22PM

13
#64 - Ming Dai / @MingDai2

05/21/2017 at 07:04PM

13
#65 - BlackCap / @BlackCapCoder

05/24/2017 at 06:55PM

13
#66 - jakeroberts / @jakeroberts

05/29/2017 at 03:02PM

13
#67 - Joel Meyer-Hamme / @JoelMeyerHamme

06/21/2017 at 01:01PM

13
#68 - Bennett Bernardoni / @BBernardoni

06/28/2017 at 08:25PM

13
#69 - aa / @aassaad93

07/18/2017 at 05:32AM

13
#70 - 杨洋 / @176795444

08/13/2017 at 09:44AM

13
#71 - Terry Ding / @TerryDing77

08/24/2017 at 10:49AM

13
#72 - Дима / @dimkino

09/07/2017 at 05:11PM

13
#73 - Cary Goltermann / @CaryGoltermann

09/25/2017 at 05:42PM

13
#74 - Turkey Man / @lvturkeyman

11/08/2017 at 09:02AM

13
#75 - Adam Silkey / @Dooflegna

11/10/2017 at 10:45PM

13
#76 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 08:49AM

13
#77 - Sage san / @sagesancast

12/20/2017 at 05:32PM

13
#78 - BarbaJol / @drpproteus

12/31/2017 at 10:02AM

13
#79 - herbage / @herbage2

01/01/2018 at 09:40PM

13
#80 - Michael B / @michaderninja

01/05/2018 at 07:57PM

13
#81 - Sergey Ryabko / @RyabkoSergey

01/16/2018 at 08:56PM

13
#82 - ParasamGateZero / @ParasamGateZero

01/21/2018 at 01:42AM

13
#83 - LC / @leeren

03/01/2018 at 10:46AM

13
#84 - Arijus / @argshook

03/01/2018 at 02:15PM

13
#85 - Jonathan Poisson / @_jpoisson_

03/06/2018 at 08:03PM

13
#86 - Guirec CORBEL / @GuirecCorbel

03/07/2018 at 10:23AM

13
#87 - GreenPinguin / @GreenPinguin2

03/09/2018 at 05:07PM

13
#88 - Lisa Ugray / @lisa_ugray

03/14/2018 at 10:44PM

13
#89 - ewalk153 / @ewalk153

04/01/2018 at 02:22AM

13
#90 - platypusDancing / @platypusDancing

05/03/2018 at 04:48AM