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

0 comments


Created by: @udioica

579 active golfers, 2574 entries

Leaderboard (lowest score wins):
13
#121 - alekfed / @alek_fed

04/15/2019 at 07:22AM

13
#122 - Gitsnik / @dracyrys

04/22/2019 at 12:16PM

13
#123 - Grant / @grant_7788

04/28/2019 at 02:14PM

13
#124 - Sherab Giovannini / @shaddycls

05/02/2019 at 11:02PM

13
#125 - eric huang / @EricGodhand4826

05/05/2019 at 06:32AM

13
#126 - Miłosz Łakomy / @foobar01123

06/24/2019 at 06:25AM

13
#127 - mkaminaga / @mkmng3

07/01/2019 at 05:29AM

13
#128 - Rasmus Öhman Bruno / @rasmohman

08/03/2019 at 08:07PM

13
#129 - sooqua / @sooqua

08/08/2019 at 08:44PM

13
#130 - Joe Fahnestock🌵 / @Joecupojoe

08/09/2019 at 02:25AM

13
#131 - Ron Holt / @ron_holt

08/14/2019 at 07:02PM

13
#132 - Martin Delille / @martinodelilo

08/24/2019 at 12:00PM

13
#133 - Christian / @paierlep

08/30/2019 at 10:41PM

13
#134 - dpetrovic_vimgolf / @DpetrovicV

09/04/2019 at 12:11PM

13
#135 - Zach Ingbretsen / @ZIngbretsen

09/07/2019 at 06:48PM

13
#136 - Cassandra / @kascein

09/17/2019 at 09:56PM

13
#137 - Baine Wedlock / @BaineWedlock

09/21/2019 at 02:15PM

13
#138 - vimgolfer / @vimgolfer7

10/01/2019 at 01:39AM

13
#139 - Rui Xue / @ruirayxue

10/01/2019 at 08:12AM

13
#140 - Sebastian / @diasitede

10/04/2019 at 03:48PM

13
#141 - Miko / @_m_ik_o_

10/06/2019 at 05:02PM

13
#142 - Viktor Styrud / @ViktorStyrud

10/07/2019 at 12:42PM

13
#143 - Mario Olofo / @mario_olofo

10/21/2019 at 08:46PM

13
#144 - leo / @leo28356948

10/24/2019 at 05:30AM

13
#145 - Ivan Volosyuk / @IvanVolosyuk

10/30/2019 at 12:59PM

13
#146 - skamgolf / @skamgolf

12/05/2019 at 01:43AM

13
#147 - James Casey / @hanavi

12/21/2019 at 08:14PM

13
#148 - Delon / @delonleonard

12/28/2019 at 08:54AM

13
#149 - Dan Kilman / @dan_kilman

01/04/2020 at 12:50PM

13
#150 - KingYames / @JamesZeHunter

02/17/2020 at 07:13AM