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

0 comments


Created by: @udioica

396 active golfers, 1672 entries

Leaderboard (lowest score wins):
13
#31 - 子皓翁 / @geniusgordon

10/26/2016 at 05:54AM

13
#32 - Kracejic / @kracejic

11/03/2016 at 06:15PM

13
#33 - Joseph Simone / @averagejoey2000

11/03/2016 at 08:38PM

13
#34 - nemonomine / @nemonomine

11/06/2016 at 05:34PM

13
#35 - John Barbero Unenge / @JBarberU

11/08/2016 at 04:41PM

13
#36 - John Newbery / @jonnynewbs

11/15/2016 at 11:01AM

13
#37 - timerella® / @timerella

11/16/2016 at 10:24PM

13
#38 - i1464083 / @i1464083

11/18/2016 at 12:09PM

13
#39 - Wessel Sinnema / @wsinnema

11/26/2016 at 01:41PM

13
#40 - Hlynur / @HlynDiezel

12/12/2016 at 09:52PM

13
#41 - Douglas Roper / @dougdroper

12/19/2016 at 01:00PM

13
#42 - Abc Def / @phweiss1

01/04/2017 at 12:31PM

13
#43 - Patrick Sanan / @patricksanan

01/09/2017 at 01:05PM

13
#44 - Social Botolinum / @SocialBot4

01/17/2017 at 10:06AM

13
#45 - Zhihong Liu / @pieapple03

02/06/2017 at 02:25PM

13
#46 - Silhouettry / @silhouettry

02/14/2017 at 07:47PM

13
#47 - Tim Grebien / @tiggg

02/23/2017 at 10:11AM

13
#48 - Alexander Bessonov / @nonsleepr

03/13/2017 at 09:02PM

13
#49 - Ilya Shakirov / @aelaau

03/20/2017 at 09:17AM

13
#50 - Andreas Anderbach / @anderbacha

03/20/2017 at 03:36PM

13
#51 - Solomon / @Trugbildjaeger

04/05/2017 at 03:11PM

13
#52 - 20speedvegan / @ashkevinm

04/12/2017 at 02:40PM

13
#53 - sijinyuan / @sijinyuan

04/13/2017 at 02:04PM

13
#54 - Alex Linden / @alexwlinden1

04/17/2017 at 07:42PM

13
#55 - Georgii Rosinskyi / @dscTobi

04/20/2017 at 08:36AM

13
#56 - Tom BP / @ThosBP

04/20/2017 at 02:11PM

13
#57 - 梧桐王子 / @WutongYujie

04/24/2017 at 05:30AM

13
#58 - DatBoi / @DatBoi42585694

04/24/2017 at 06:53PM

13
#59 - Rami Hovi / @hacker_lawyer

04/28/2017 at 03:06PM

13
#60 - Chris Robertson / @chrisxrobertson

05/01/2017 at 06:59AM