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 4d2482950947c63e260000b1

Word Blender

The insides of long words seem to have been run through the blender. Can you fix this famous tale, brave knight?

Start file
             A CUCITCENNOT YEKNAE IN KNIG
                    AUHTRR'S CRUOT

IT was in Wciwrak Cltsae taht I cmae asorcs the
cuoirus segnartr wohm I am gniog to tlak auobt.
He aetcarttd me by terhe tgnihs: his cidnad sticilpmiy,
his muolevras ftirailimay wtih aneicnt aomrr, and the
rsenluftses of his cnapmoy -- for he did all the tniklag.
We flel tehtegor, as msedot plpoee wlil, in the tial of
the hred taht was bnieg swohn tguorhh, and he at ocne
bagen to say tgnihs wcihh ietseretnd me. As he
teklad anolg, sltfoy, pltnasaely, flgniwoly, he semeed
to dfirt aawy ilbitpecrepmy out of tihs wlrod and tmie,
and itno smoe rtomee era and old fettogron crtnuoy;
and so he gllaudary wvoe scuh a slepl auobt me taht I
semeed to mvoe anomg the sretceps and swodahs and
dsut and mlod of a gary atiuqitny, hnidlog sceeph wtih
a rilec of it! Eltcaxy as I wluod saepk of my nseraet
panosrel fdneirs or eeimens, or my msot failimar
nrobhgies, he skope of Sir Brevidee, Sir Bros de
Ginas, Sir Lolecnuat of the Lkae, Sir Gahalad, and all
the oehtr gaert nemas of the Tlbae Rnuod -- and how
old, old, ulbakaepsny old and fedad and dry and
mtsuy and aneicnt he cmae to look as he wnet on!
Pltnesery he tenrud to me and siad, jsut as one mhgit
saepk of the wehtaer, or any oehtr common mettar.
End file
             A CONNECTICUT YANKEE IN KING
                    ARTHUR'S COURT

IT was in Warwick Castle that I came across the
curious stranger whom I am going to talk about.
He attracted me by three things: his candid simplicity,
his marvelous familiarity with ancient armor, and the
restfulness of his company -- for he did all the talking.
We fell together, as modest people will, in the tail of
the herd that was being shown through, and he at once
began to say things which interested me. As he
talked along, softly, pleasantly, flowingly, he seemed
to drift away imperceptibly out of this world and time,
and into some remote era and old forgotten country;
and so he gradually wove such a spell about me that I
seemed to move among the specters and shadows and
dust and mold of a gray antiquity, holding speech with
a relic of it! Exactly as I would speak of my nearest
personal friends or enemies, or my most familiar
neighbors, he spoke of Sir Bedivere, Sir Bors de
Ganis, Sir Launcelot of the Lake, Sir Galahad, and all
the other great names of the Table Round -- and how
old, old, unspeakably old and faded and dry and
musty and ancient he came to look as he went on!
Presently he turned to me and said, just as one might
speak of the weather, or any other common matter.

View Diff

1,2c1,2
<              A CUCITCENNOT YEKNAE IN KNIG
<                     AUHTRR'S CRUOT
---
>              A CONNECTICUT YANKEE IN KING
>                     ARTHUR'S COURT
4,26c4,26
< IT was in Wciwrak Cltsae taht I cmae asorcs the
< cuoirus segnartr wohm I am gniog to tlak auobt.
< He aetcarttd me by terhe tgnihs: his cidnad sticilpmiy,
< his muolevras ftirailimay wtih aneicnt aomrr, and the
< rsenluftses of his cnapmoy -- for he did all the tniklag.
< We flel tehtegor, as msedot plpoee wlil, in the tial of
< the hred taht was bnieg swohn tguorhh, and he at ocne
< bagen to say tgnihs wcihh ietseretnd me. As he
< teklad anolg, sltfoy, pltnasaely, flgniwoly, he semeed
< to dfirt aawy ilbitpecrepmy out of tihs wlrod and tmie,
< and itno smoe rtomee era and old fettogron crtnuoy;
< and so he gllaudary wvoe scuh a slepl auobt me taht I
< semeed to mvoe anomg the sretceps and swodahs and
< dsut and mlod of a gary atiuqitny, hnidlog sceeph wtih
< a rilec of it! Eltcaxy as I wluod saepk of my nseraet
< panosrel fdneirs or eeimens, or my msot failimar
< nrobhgies, he skope of Sir Brevidee, Sir Bros de
< Ginas, Sir Lolecnuat of the Lkae, Sir Gahalad, and all
< the oehtr gaert nemas of the Tlbae Rnuod -- and how
< old, old, ulbakaepsny old and fedad and dry and
< mtsuy and aneicnt he cmae to look as he wnet on!
< Pltnesery he tenrud to me and siad, jsut as one mhgit
< saepk of the wehtaer, or any oehtr common mettar.
---
> IT was in Warwick Castle that I came across the
> curious stranger whom I am going to talk about.
> He attracted me by three things: his candid simplicity,
> his marvelous familiarity with ancient armor, and the
> restfulness of his company -- for he did all the talking.
> We fell together, as modest people will, in the tail of
> the herd that was being shown through, and he at once
> began to say things which interested me. As he
> talked along, softly, pleasantly, flowingly, he seemed
> to drift away imperceptibly out of this world and time,
> and into some remote era and old forgotten country;
> and so he gradually wove such a spell about me that I
> seemed to move among the specters and shadows and
> dust and mold of a gray antiquity, holding speech with
> a relic of it! Exactly as I would speak of my nearest
> personal friends or enemies, or my most familiar
> neighbors, he spoke of Sir Bedivere, Sir Bors de
> Ganis, Sir Launcelot of the Lake, Sir Galahad, and all
> the other great names of the Table Round -- and how
> old, old, unspeakably old and faded and dry and
> musty and ancient he came to look as he went on!
> Presently he turned to me and said, just as one might
> speak of the weather, or any other common matter.

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 56 remaining solutions by signing in and submitting your own entry
#57 じょんあば / @john_ababa - Score: 1291 - 02/26/12 @ 07:51
dG:a!<CR>             A CONNECTICUT YANKEE IN KING<CR>                    ARTHUR'S COURT<CR><CR>IT was in Warwick Castle that I came across the<CR>curious stranger whom I am going to talk about.<CR>He attracted me by three things: his candid simplicity,<CR>his marvelous familiarity with ancient armor, and the<CR>restfulness of his company -- for he did all the talking.<CR>We fell together, as modest people will, in the tail of<CR>the herd that was being shown through, and he at once<CR>began to say things which interested me. As he<CR>talked along, softly, pleasantly, flowingly, he seemed<CR>to drift away imperceptibly out of this world and time,<CR>and into some remote era and old forgotten country;<CR>and so he gradually wove such a spell about me that I<CR>seemed to move among the specters and shadows and<CR>dust and mold of a gray antiquity, holding speech with<CR>a relic of it! Exactly as I would speak of my nearest<CR>personal friends or enemies, or my most familiar<CR>neighbors, he spoke of Sir Bedivere, Sir Bors de<CR>Ganis, Sir Launcelot of the Lake, Sir Galahad, and all<CR>the other great names of the Table Round -- and how<CR>old, old, unspeakably old and faded and dry and<CR>musty and ancient he came to look as he went on!<CR>Presently he turned to me and said, just as one might<CR>speak of the weather, or any other common matter.<CR><Esc><Esc>ZZ

0 comments


Created by: @gumnos

57 active golfers, 148 entries

Leaderboard (lowest score wins):
28
#1 - Urtica dioica / @udioica

07/04/2012 at 05:35PM

28
#2 - John Braxler / @braxler

09/10/2014 at 06:14PM

28
#3 - vimgolfer / @vimgolfer7

10/12/2019 at 04:34PM

28
#4 - Peppa Pig / @PeppaPi95550250

05/30/2024 at 06:56AM

29
#5 - Petro Тrouq / @zulolosi

07/06/2013 at 06:34AM

30
#6 - dominique pellé / @vimgolfisto

01/07/2011 at 07:30PM

33
#7 - Federico Galassi / @federicogalassi

01/07/2011 at 05:26PM

34
#8 - derp derp / @derp__

01/05/2011 at 05:29PM

34
#9 - Wei Dai / @clvv42

01/07/2011 at 02:28AM

34
#10 - Ujjwol Lamichhane / @Ujjwol

01/07/2011 at 10:52AM

34
#11 - h_east (トロッコ6個) / @h_east

02/06/2011 at 08:16AM

34
#12 - Paweu1kZ nbNeyIhH / @yUQlwsFpRSzxJFh

03/16/2011 at 07:13AM

34
#13 - Hu Junfeng / @junfeng

07/29/2011 at 03:17PM

34
#14 - Justin Love / @wondible

08/23/2011 at 02:21PM

34
#15 - You-Siang Lin / @yslinnctu

12/01/2011 at 10:00AM

34
#16 - Renat Aksitov / @Korvin79

02/18/2012 at 11:19AM

34
#17 - hiding / @I_haveno_name

10/12/2013 at 11:54AM

34
#18 - Joonas Pihlajamaa / @jokkebk

02/23/2014 at 09:28PM

34
#19 - Dario Avitabile / @tutticapaci

09/05/2014 at 01:17PM

34
#20 - Jon Krause / @jkrause314

04/30/2016 at 11:32PM

34
#21 - Remus Dalrymple / @bornintheflames

12/30/2023 at 12:34AM

35
#22 - Balkoth / @_Balkoth_

01/05/2011 at 05:58PM

35
#23 - Victor Vaile / @victorv4_

01/06/2011 at 03:34AM

35
#24 - Steve Morrow / @yawmark

01/06/2011 at 04:13AM

35
#25 - lemming / @darthlemming

01/20/2011 at 07:22AM

35
#26 - Kerson Hsiao / @KersonHsiao

08/02/2012 at 09:10AM

36
#27 - Gael / @darkael2

01/06/2011 at 12:13PM

36
#28 - Øystein Walle / @oysteinwalle

07/09/2011 at 03:03PM

38
#29 - Francisco Dibar / @frandibar

01/12/2011 at 04:45AM

40
#30 - Thedward the Edward / @thedward

01/11/2011 at 06:18PM