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):
21
#271 - isaneba / @isaneba

07/25/2016 at 03:36AM

21
#272 - Stephan Bugnon / @stephanbugnon

08/10/2016 at 03:52PM

21
#273 - George Angelopoulos / @g_usermod

08/12/2016 at 08:44AM

21
#274 - Nabarun Chatterjee / @nabarunch

08/18/2016 at 01:42PM

21
#275 - Albert Mikó / @berci1992

08/25/2016 at 08:40PM

21
#276 - javier castro / @eusipial

09/17/2016 at 03:55AM

21
#277 - Christian Rondeau / @c_rondeau

10/16/2016 at 03:20AM

21
#278 - Markus Bala / @bala4901

11/17/2016 at 01:43AM

21
#279 - Alex Gunning / @XelaGninnug

11/21/2016 at 08:25AM

21
#280 - Rodney Visser / @_Radnus

11/27/2016 at 04:08AM

21
#281 - Markus Lux / @_l0x_

01/04/2017 at 12:26PM

21
#282 - Hans Yelek / @hans_yelek

01/09/2017 at 06:07PM

21
#283 - Mark Brody / @_markbrody

03/23/2017 at 05:15AM

21
#284 - retro / @tryphopp

04/07/2017 at 06:19AM

21
#285 - g-fresh / @gfresh73684651

04/25/2017 at 09:59PM

21
#286 - ʀǟɦʊʟ ɮɦօʟǟ / @theRahulBhola

05/26/2017 at 11:25AM

21
#287 - Carl Egbert / @CarlOEgbert

06/09/2017 at 09:10PM

21
#288 - Marcin Paliwoda / @eukaliptuss

08/25/2017 at 02:37PM

21
#289 - James / @Dronak

08/28/2017 at 01:23AM

21
#290 - Paul Sohn / @pksohn

09/07/2017 at 02:56PM

21
#291 - wes / @_weslly

09/23/2017 at 11:05PM

21
#292 - Stephen Watkin / @stephen_watkin

10/07/2017 at 10:02AM

21
#293 - Ron Alexssen / @Ralexhere

10/20/2017 at 06:15PM

21
#294 - Florian Kluck / @KluckF

11/05/2017 at 07:58PM

21
#295 - Bradley M. Small / @BradleySmall

01/03/2018 at 01:18PM

21
#296 - TachyG / @Tachypsychique

01/29/2018 at 01:52PM

21
#297 - martin tourneboeuf / @martintournebo1

01/31/2018 at 09:48PM

21
#298 - Michael D Jones / @biotechjones

02/03/2018 at 09:35PM

21
#299 - slicklash / @slicklash

03/01/2018 at 02:14PM

21
#300 - vimthrowaway / @vimgolf_throw

03/30/2018 at 06:25PM