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

0 comments


Created by: @udioica

455 active golfers, 1983 entries

Leaderboard (lowest score wins):
22
#361 - Will Gunther / @WillGunther

06/11/2017 at 08:27PM

22
#362 - Stop and think / @ms_uncountable

07/06/2017 at 07:19PM

22
#363 - Geoff / @RealGeoffErwin

09/29/2017 at 01:55PM

22
#364 - Saul Hardman / @saulhardman

10/06/2017 at 09:33AM

22
#365 - かりうむ / @ka1l

11/20/2017 at 08:47AM

22
#366 - Joachim Wedin / @joachim_wedin

12/13/2017 at 12:53PM

22
#367 - Jacob Tailor / @spydronex

02/12/2018 at 10:20PM

22
#368 - phucvin / @phucvin

02/14/2018 at 04:42PM

22
#369 - banielTimes / @banielTimes

02/18/2018 at 11:54PM

22
#370 - bruno / @LokoPoggi

03/03/2018 at 05:05AM

22
#371 - Pablo / @suspekt007

04/09/2018 at 09:05PM

22
#372 - Oliver G. / @Redbrain18

05/01/2018 at 11:50AM

22
#373 - 石奕心 / @allenshih1

06/07/2018 at 12:47AM

22
#374 - Enricu / @NricU

08/18/2018 at 02:41PM

22
#375 - chenqiqi / @chenqiqi13

03/13/2019 at 06:38AM

23
#376 - Leix b / @leix_b

07/07/2016 at 07:32PM

23
#377 - joel / @Atree23

07/29/2016 at 11:51PM

23
#378 - Batuhan Bayrakçı / @bay_batu

09/18/2016 at 01:34PM

23
#379 - Bruce Park / @bpark0

09/23/2016 at 06:14PM

23
#380 - Joël Christ / @jjlchrist

10/07/2016 at 02:20PM

23
#381 - Clalani / @clalania

10/14/2016 at 10:59AM

23
#382 - Michael Hoffmann / @micha66545852

02/25/2017 at 08:50PM

23
#383 - Alexander Gryson / @agryson

05/04/2017 at 08:13PM

23
#384 - python-tweepy / @python_tweepy

05/16/2017 at 04:01AM

23
#385 - Will Ernst / @liquidmantis

09/05/2018 at 07:45PM

23
#386 - Juliette but spooky / @namebrandloser

10/26/2018 at 11:36PM

23
#387 - Slawek Ligus / @ooz_ie

01/14/2019 at 08:00PM

23
#388 - Tyler k the science guy / @tyler_karpe

04/02/2019 at 08:01AM

24
#389 - Clémence / @Clemence_Neoxia

06/24/2016 at 04:51PM

24
#390 - Adam Collins / @adc613

07/07/2016 at 08:48PM