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

0 comments


Created by: @udioica

476 active golfers, 2085 entries

Leaderboard (lowest score wins):
18
#241 - Clement Keirua / @clemkeirua

05/06/2017 at 10:19PM

18
#242 - Karl Hepler / @oldtimeguitar

05/25/2017 at 06:15PM

18
#243 - Gurukandhamoorthi / @Gurukandhamoor1

07/10/2017 at 10:26AM

18
#244 - Charlie OConor / @charlieoconor

09/29/2017 at 06:43AM

18
#245 - Elton Kamami / @pixel_grid

10/09/2017 at 08:53PM

18
#246 - BareTull / @BareTull3

12/07/2017 at 01:44PM

18
#247 - Sebastian Wieland / @oktupol

01/19/2018 at 02:40PM

18
#248 - Maxim Zalata / @zalatik

03/30/2018 at 05:27PM

18
#249 - DHM / @DHM29978992

04/12/2018 at 03:56AM

18
#250 - Jonathan Camilleri / @Too_Many_Taken

05/24/2018 at 02:33PM

18
#251 - Cosmic Frog / @Cozmicfrog

06/19/2018 at 01:21PM

18
#252 - mass / @mass256

07/09/2018 at 06:49AM

18
#253 - Frank Korf / @OMGFrank

08/16/2018 at 07:27PM

18
#254 - bluemartian / @bluemartianz59

08/19/2018 at 02:53AM

18
#255 - Matt Burg / @matsbleurgh

09/14/2018 at 07:45PM

18
#256 - Bruce Adams / @bruceadams1054

10/10/2018 at 12:12PM

18
#257 - Dave Brda / @BrdaDave

10/31/2018 at 03:35AM

18
#258 - Andreas Nordahl / @andreasnordahl

11/17/2018 at 10:23AM

18
#259 - Tom ten Thij / @eco_coder

11/20/2018 at 10:58AM

18
#260 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:40AM

18
#261 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 05:48AM

18
#262 - Nicolas Daval / @ndaval

04/07/2019 at 07:19PM

18
#263 - Chester Yap / @Chest_ErYap

07/11/2019 at 12:54PM

18
#264 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:57AM

18
#265 - Chloe Adeline / @SimpleRabbit

08/04/2019 at 03:35AM

18
#266 - majestic sloth / @SamLlama

08/13/2019 at 02:19AM

19
#267 - tPenguinLTG / @tpenguinltg

06/24/2016 at 03:51PM

19
#268 - tgmeng / @lazy_fabric

06/28/2016 at 10:37AM

19
#269 - Zed Byrne / @ZeByrne

06/28/2016 at 03:51PM

19
#270 - Amory Schlender / @schlamory

07/08/2016 at 04:30AM