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):
18
#211 - Maxim Zalata / @zalatik

03/30/2018 at 05:27PM

18
#212 - DHM / @DHM29978992

04/12/2018 at 03:56AM

18
#213 - Jonathan Camilleri / @Too_Many_Taken

05/24/2018 at 02:33PM

18
#214 - Cosmic Frog / @Cozmicfrog

06/19/2018 at 01:21PM

18
#215 - mass / @mass256

07/09/2018 at 06:49AM

18
#216 - Frank Korf / @OMGFrank

08/16/2018 at 07:27PM

18
#217 - bluemartian / @bluemartianz59

08/19/2018 at 02:53AM

18
#218 - Matt Burg / @matsbleurgh

09/14/2018 at 07:45PM

18
#219 - Bruce Adams / @bruceadams1054

10/10/2018 at 12:12PM

18
#220 - Dave Brda / @BrdaDave

10/31/2018 at 03:35AM

18
#221 - Andreas Nordahl / @andreasnordahl

11/17/2018 at 10:23AM

19
#222 - tPenguinLTG / @tpenguinltg

06/24/2016 at 03:51PM

19
#223 - tgmeng / @lazy_fabric

06/28/2016 at 10:37AM

19
#224 - Zed Byrne / @ZeByrne

06/28/2016 at 03:51PM

19
#225 - Amory Schlender / @schlamory

07/08/2016 at 04:30AM

19
#226 - 王运 / @640138017

07/10/2016 at 02:57PM

19
#227 - Ryan van Rensburg / @rdvr001

07/16/2016 at 08:53PM

19
#228 - 青木 美将 / @YoshimasaAoki

08/03/2016 at 08:24AM

19
#229 - Will / @obiwan__k3n00bi

08/14/2016 at 01:06AM

19
#230 - Zdravko Colic / @virtual_key

08/18/2016 at 05:37PM

19
#231 - Codingpotato / @codingpotato

05/07/2017 at 09:43AM

19
#232 - John Smith / @johns32768

06/17/2017 at 11:32AM

19
#233 - Dick Quixly / @DickQuixly

07/05/2017 at 02:29AM

19
#234 - Anne Pacalet / @_Anne_P

07/07/2017 at 11:05AM

19
#235 - Ryan Coopersmith / @RyanCoopersmit1

07/10/2017 at 11:30PM

19
#236 - huho / @huho_xu

08/04/2017 at 07:04PM

19
#237 - Jon Bakies / @jonbakies

10/05/2017 at 08:32PM

19
#238 - Dylan Nelson / @dlnnlsn

06/08/2018 at 05:35AM

19
#239 - Apox / @apox159

07/20/2018 at 07:02PM

19
#240 - Ano Nym / @AnoNym39473378

08/18/2018 at 01:18PM