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

0 comments


Created by: @udioica

641 active golfers, 2875 entries

Leaderboard (lowest score wins):
15
#211 - exp977 / @exp977

08/20/2016 at 11:30AM

15
#212 - Richard O'Brien / @richard0b

08/21/2016 at 01:35AM

15
#213 - ILikeVim / @VimIsCool

09/13/2016 at 07:03AM

15
#214 - Bill Ruddock / @biinari

10/31/2016 at 12:54AM

15
#215 - Paulo H Baumann / @PauloBaumann

11/18/2016 at 03:56PM

15
#216 - Jon Louie / @jjisnow

11/24/2016 at 02:04AM

15
#217 - Pierre Maoui / @p_maoui

12/19/2016 at 05:23PM

15
#218 - Craig Langford / @cllangfo

12/31/2016 at 03:02PM

15
#219 - Yann / @yannstad

02/19/2017 at 08:08PM

15
#220 - Roland TheFreak / @_TheFreak_

04/30/2017 at 11:49AM

15
#221 - Acid One / @AcidOne2

05/04/2017 at 09:05AM

15
#222 - James Houghton / @jamesthoughton

05/05/2017 at 07:38PM

15
#223 - Brian Hall / @_bruab_

06/27/2017 at 03:01PM

15
#224 - Harsh Kumar / @datsleepyguy

06/30/2017 at 11:01AM

15
#225 - Luke Bryant / @LukeBryant55

10/08/2017 at 02:54PM

15
#226 - しぇぱっち / @shepabashi

10/23/2017 at 05:34AM

15
#227 - John C Shea / @MHSSachems

02/04/2018 at 11:12AM

15
#228 - Max Krogius / @MaxKrogius

02/23/2018 at 02:57PM

15
#229 - Fichera Gaetano / @gaetanofic

04/11/2018 at 09:06AM

15
#230 - Bilgisayar yazilimcisi Huseyin / @revanthedarth

06/13/2018 at 12:53AM

15
#231 - Ernesto Barros / @ernestobarros7

06/16/2018 at 09:29PM

15
#232 - yqu212 / @yqu212

07/27/2018 at 09:59AM

15
#233 - Joao Figueiredo / @j1fig

08/02/2018 at 03:37PM

15
#234 - Rasmus Bergström / @JRasmusBm

09/27/2018 at 10:06PM

15
#235 - Roger Bongers / @RogerBongers

10/06/2018 at 05:11PM

15
#236 - name / @name65894813

11/15/2018 at 06:21PM

15
#237 - André Z / @andrelzanellato

01/23/2019 at 01:48AM

15
#238 - Groovy / @groovy9

03/08/2019 at 03:38PM

15
#239 - Michał Łowicki / @mlowicki

04/17/2019 at 08:26PM

15
#240 - Kai.Li / @KaiLi19

05/07/2019 at 05:07AM