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

0 comments


Created by: @udioica

497 active golfers, 2208 entries

Leaderboard (lowest score wins):
18
#271 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:40AM

18
#272 - wanghbxxxx / @wanghbxxxx

04/06/2019 at 05:48AM

18
#273 - Nicolas Daval / @ndaval

04/07/2019 at 07:19PM

18
#274 - Chester Yap / @Chest_ErYap

07/11/2019 at 12:54PM

18
#275 - Clint Caudle / @ClintCaudle

07/22/2019 at 05:57AM

18
#276 - Chloe Adeline / @SimpleRabbit

08/04/2019 at 03:35AM

18
#277 - majestic sloth / @SamLlama

08/13/2019 at 02:19AM

18
#278 - Simon Wilkinson / @simondwilkinson

08/23/2019 at 10:12PM

19
#279 - tPenguinLTG / @tpenguinltg

06/24/2016 at 03:51PM

19
#280 - tgmeng / @lazy_fabric

06/28/2016 at 10:37AM

19
#281 - Zed Byrne / @ZeByrne

06/28/2016 at 03:51PM

19
#282 - Amory Schlender / @schlamory

07/08/2016 at 04:30AM

19
#283 - 王运 / @640138017

07/10/2016 at 02:57PM

19
#284 - Ryan van Rensburg / @rdvr001

07/16/2016 at 08:53PM

19
#285 - 青木 美将 / @YoshimasaAoki

08/03/2016 at 08:24AM

19
#286 - Will / @obiwan__k3n00bi

08/14/2016 at 01:06AM

19
#287 - Zdravko Colic / @virtual_key

08/18/2016 at 05:37PM

19
#288 - Codingpotato / @codingpotato

05/07/2017 at 09:43AM

19
#289 - John Smith / @johns32768

06/17/2017 at 11:32AM

19
#290 - Dick Quixly / @DickQuixly

07/05/2017 at 02:29AM

19
#291 - Anne Pacalet / @_Anne_P

07/07/2017 at 11:05AM

19
#292 - Ryan Coopersmith / @RyanCoopersmit1

07/10/2017 at 11:30PM

19
#293 - huho / @huho_xu

08/04/2017 at 07:04PM

19
#294 - Jon Bakies / @jonbakies

10/05/2017 at 08:32PM

19
#295 - Dylan Nelson / @dlnnlsn

06/08/2018 at 05:35AM

19
#296 - Apox / @apox159

07/20/2018 at 07:02PM

19
#297 - Ano Nym / @AnoNym39473378

08/18/2018 at 01:18PM

19
#298 - Florent Jaby / @Floby

10/09/2018 at 11:58AM

19
#299 - Sxcy / @SxcyX

10/22/2018 at 02:09PM

19
#300 - m472 / @m4729

10/27/2018 at 08:42PM