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):
19
#271 - 王运 / @640138017

07/10/2016 at 02:57PM

19
#272 - Ryan van Rensburg / @rdvr001

07/16/2016 at 08:53PM

19
#273 - 青木 美将 / @YoshimasaAoki

08/03/2016 at 08:24AM

19
#274 - Will / @obiwan__k3n00bi

08/14/2016 at 01:06AM

19
#275 - Zdravko Colic / @virtual_key

08/18/2016 at 05:37PM

19
#276 - Codingpotato / @codingpotato

05/07/2017 at 09:43AM

19
#277 - John Smith / @johns32768

06/17/2017 at 11:32AM

19
#278 - Dick Quixly / @DickQuixly

07/05/2017 at 02:29AM

19
#279 - Anne Pacalet / @_Anne_P

07/07/2017 at 11:05AM

19
#280 - Ryan Coopersmith / @RyanCoopersmit1

07/10/2017 at 11:30PM

19
#281 - huho / @huho_xu

08/04/2017 at 07:04PM

19
#282 - Jon Bakies / @jonbakies

10/05/2017 at 08:32PM

19
#283 - Dylan Nelson / @dlnnlsn

06/08/2018 at 05:35AM

19
#284 - Apox / @apox159

07/20/2018 at 07:02PM

19
#285 - Ano Nym / @AnoNym39473378

08/18/2018 at 01:18PM

19
#286 - Florent Jaby / @Floby

10/09/2018 at 11:58AM

19
#287 - Sxcy / @SxcyX

10/22/2018 at 02:09PM

19
#288 - m472 / @m4729

10/27/2018 at 08:42PM

19
#289 - Kasparas Lavrukaitis / @kaslvr

11/07/2018 at 04:06PM

19
#290 - Marcio M Pereira / @iviarcio

01/07/2019 at 01:45PM

19
#291 - Saphire Lattice / @SaphireLattice

03/06/2019 at 07:09AM

19
#292 - Matt Vaughn / @mattttvaughn

08/05/2019 at 02:54AM

20
#293 - Banos / @deep_spoon

06/26/2016 at 01:35PM

20
#294 - Reuben Huxley / @missiontocode

06/29/2016 at 02:01AM

20
#295 - Michiel Schuurmans / @michiel95328395

07/05/2016 at 08:23AM

20
#296 - some call me mattp / @mattpep

07/15/2016 at 03:17PM

20
#297 - Ygor Bruxel / @ygorbruxel

07/17/2016 at 09:09PM

20
#298 - Diego Garcia ⚒ / @drgarcia1986

07/24/2016 at 06:21PM

20
#299 - Imre Kerr / @imre_kerr

07/25/2016 at 12:25PM

20
#300 - Atrament / @Atrament

08/18/2016 at 07:06AM