Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Leaderboard, Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 4d2513c10947c63e2600019f

Here, piggy, piggy...

Youay owknay atwhay otay oday...

Start 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.
End file
             AWAY ONNECTICUTCAY YANKEEAY INWAY INGKAY
                    ARTHURWAY'SAY OURTCAY

Itway asway inway Arwickway Astlecay atthay Iway amecay acrossway ethay
uriouscay angerstray omwhay Iway amway oinggay otay alktay aboutway.
Ehay attractedway emay ybay eethray ingsthay: ishay andidcay implicitysay,
ishay arvelousmay amiliarityfay ithway ancientway armorway, andway ethay
estfulnessray ofway ishay ompanycay -- orfay ehay idday allway ethay alkingtay.
Eway ellfay ogethertay, asway odestmay eoplepay illway, inway ethay ailtay ofway
ethay erdhay atthay asway eingbay ownshay oughthray, andway ehay atway onceway
eganbay otay aysay ingsthay ichwhay interestedway emay. Asway ehay
alkedtay alongway, oftlysay, easantlyplay, owinglyflay, ehay eemedsay
otay iftdray awayway imperceptiblyway outway ofway isthay orldway andway imetay,
andway intoway omesay emoteray eraway andway oldway orgottenfay ountrycay;
andway osay ehay aduallygray oveway uchsay away ellspay aboutway emay atthay Iway
eemedsay otay ovemay amongway ethay ectersspay andway adowsshay andway
ustday andway oldmay ofway away aygray antiquityway, oldinghay eechspay ithway
away elicray ofway itway! Exactlyway asway Iway ouldway eakspay ofway ymay earestnay
ersonalpay iendsfray orway enemiesway, orway ymay ostmay amiliarfay
eighborsnay, ehay okespay ofway Irsay Ediverebay, Irsay Orsbay eday
Anisgay, Irsay Auncelotlay ofway ethay Akelay, Irsay Alahadgay, andway allway
ethay otherway eatgray amesnay ofway ethay Abletay Oundray -- andway owhay
oldway, oldway, unspeakablyway oldway andway adedfay andway ydray andway
ustymay andway ancientway ehay amecay otay ooklay asway ehay entway onway!
Esentlypray ehay urnedtay otay emay andway aidsay, ustjay asway oneway ightmay
eakspay ofway ethay eatherway, orway anyway otherway ommoncay attermay.

View Diff

1,2c1,2
<              A CONNECTICUT YANKEE IN KING
<                     ARTHUR'S COURT
---
>              AWAY ONNECTICUTCAY YANKEEAY INWAY INGKAY
>                     ARTHURWAY'SAY OURTCAY
4,26c4,26
< 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.
---
> Itway asway inway Arwickway Astlecay atthay Iway amecay acrossway ethay
> uriouscay angerstray omwhay Iway amway oinggay otay alktay aboutway.
> Ehay attractedway emay ybay eethray ingsthay: ishay andidcay implicitysay,
> ishay arvelousmay amiliarityfay ithway ancientway armorway, andway ethay
> estfulnessray ofway ishay ompanycay -- orfay ehay idday allway ethay alkingtay.
> Eway ellfay ogethertay, asway odestmay eoplepay illway, inway ethay ailtay ofway
> ethay erdhay atthay asway eingbay ownshay oughthray, andway ehay atway onceway
> eganbay otay aysay ingsthay ichwhay interestedway emay. Asway ehay
> alkedtay alongway, oftlysay, easantlyplay, owinglyflay, ehay eemedsay
> otay iftdray awayway imperceptiblyway outway ofway isthay orldway andway imetay,
> andway intoway omesay emoteray eraway andway oldway orgottenfay ountrycay;
> andway osay ehay aduallygray oveway uchsay away ellspay aboutway emay atthay Iway
> eemedsay otay ovemay amongway ethay ectersspay andway adowsshay andway
> ustday andway oldmay ofway away aygray antiquityway, oldinghay eechspay ithway
> away elicray ofway itway! Exactlyway asway Iway ouldway eakspay ofway ymay earestnay
> ersonalpay iendsfray orway enemiesway, orway ymay ostmay amiliarfay
> eighborsnay, ehay okespay ofway Irsay Ediverebay, Irsay Orsbay eday
> Anisgay, Irsay Auncelotlay ofway ethay Akelay, Irsay Alahadgay, andway allway
> ethay otherway eatgray amesnay ofway ethay Abletay Oundray -- andway owhay
> oldway, oldway, unspeakablyway oldway andway adedfay andway ydray andway
> ustymay andway ancientway ehay amecay otay ooklay asway ehay entway onway!
> Esentlypray ehay urnedtay otay emay andway aidsay, ustjay asway oneway ightmay
> eakspay ofway ethay eatherway, orway anyway otherway ommoncay attermay.

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 14 remaining solutions by signing in and submitting your own entry
#15 Tim Chase / @gumnos - Score: 102 - 01/05/11 @ 17:30
:%s/\<[aeiouy]\w*/&way/gi<CR>:%s/\v<([^aeiouy ]+)(\w*)/\2\1ay/gi<CR>:%s/\v<(\l)(\w*\u)/\u\1\L\2/g<CR>HgUj2fWxZZ

0 comments

#16 drio / @drio - Score: 102 - 01/17/11 @ 16:03
:%s/\v<[aeiouy]\w*/&way/gi|:%s/\v<([^aeiouy ]+)(\w*)/\2\1ay/g|:%s/\v(\w+)(\u)/\u\1\l\2/g<CR><CR>:1<CR>gUj2fWxZZ

0 comments

#17 julien durillon / @juuduu - Score: 225 - 06/28/11 @ 16:30
:1,2s:\(\<[AEIOU]\)\(\w*\):<BS><BS><BS><BS><BS><BS><BS><BS><BS><BS>\w*\):\1W:g<CR>:3,$s:\(\<[aeiou]\w*\):\1w:gi<CR>:%s:\<\(\%([^aeiouy]\&\w\)\+\)\(\w*\):\2\1:gi<CR>:3,$s:\(\<\w\)\(\w*\)\(\u\)\(\w*\):\u\1\L\2\3\4:g<CR>:3,$s:\(\<\w\+\):\1ay:g<CR>:1,2s:\(\<\w\+\):\1AY:g<CR>ZZ

0 comments

#18 無ん垢の叫び / @john_ababa - Score: 1834 - 02/25/12 @ 23:56
dG:a!<CR>             AWAY ONNECTICUTCAY YANKEEAY INWAY INGKAY<CR>                    ARTHURWAY'SAY OURTCAY<CR><CR>Itway asway inway Arwickway Astlecay atthay Iway amecay acrossway ethay<CR>uriouscay angerstray omwhay Iway amway oinggay otay alktay aboutway.<CR>Ehay attractedway emay ybay eethray ingsthay: ishay andidcay implicitysay,<CR>ishay arvelousmay amiliarityfay ithway ancientway armorway, andway ethay<CR>estfulnessray ofway ishay ompanycay -- orfay ehay idday allway ethay alkingtay.<CR>Eway ellfay ogethertay, asway odestmay eoplepay illway, inway ethay ailtay ofway<CR>ethay erdhay atthay asway eingbay ownshay oughthray, andway ehay atway onceway<CR>eganbay otay aysay ingsthay ichwhay interestedway emay. Asway ehay<CR>alkedtay alongway, oftlysay, easantlyplay, owinglyflay, ehay eemedsay<CR>otay iftdray awayway imperceptiblyway outway ofway isthay orldway andway imetay,<CR>andway intoway omesay emoteray eraway andway oldway orgottenfay ountrycay;<CR>andway osay ehay aduallygray oveway uchsay away ellspay aboutway emay atthay Iway<CR>eemedsay otay ovemay amongway ethay ectersspay andway adowsshay andway<CR>ustday andway oldmay ofway away aygray antiquityway, oldinghay eechspay ithway<CR>away elicray ofway itway! Exactlyway asway Iway ouldway eakspay ofway ymay earestnay<CR>ersonalpay iendsfray orway enemiesway, orway ymay ostmay amiliarfay<CR>eighborsnay, ehay okespay ofway Irsay Ediverebay, Irsay Orsbay eday<CR>Anisgay, Irsay Auncelotlay ofway ethay Akelay, Irsay Alahadgay, andway allway<CR>ethay otherway eatgray amesnay ofway ethay Abletay Oundray -- andway owhay<CR>oldway, oldway, unspeakablyway oldway andway adedfay andway ydray andway<CR>ustymay andway ancientway ehay amecay otay ooklay asway ehay entway onway!<CR>Esentlypray ehay urnedtay otay emay andway aidsay, ustjay asway oneway ightmay<CR>eakspay ofway ethay eatherway, orway anyway otherway ommoncay attermay.<CR><Esc><Esc>ZZ

0 comments

Created by: @gumnos

18 active golfers, 56 entries

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

01/15/2013 at 10:36AM

Gintoki_normal
70
#2 - You-Siang Lin / @yslinnctu

12/01/2011 at 01:30AM

Default_profile_6_normal
73
#3 - William Dunand / @wdunand

11/15/2011 at 08:02PM

Dom-50_normal
77
#4 - dominique pellé / @vimgolfisto

01/06/2011 at 05:01AM

Me-small_normal
77
#5 - Wei Dai / @clvv42

01/06/2011 at 07:34PM

Default_profile_6_normal
77
#6 - derp derp / @derp__

01/08/2011 at 07:17PM

Jlove201003sq_normal
82
#7 - Justin Love / @wondible

08/25/2011 at 03:04PM

Default_profile_2_normal
84
#8 - Victor Vaile / @victorv4_

01/06/2011 at 02:38AM

Image_normal
87
#9 - Pete Johns / @johnsyweb

01/08/2011 at 06:35PM

E55df1cc7d5fdb4ae9bc2afcb9afe7e4_normal
88
#10 - matthewd / @_matthewd

01/05/2011 at 06:27PM

Fepic_normal
93
#11 - Federico Galassi / @federicogalassi

01/06/2011 at 11:46AM

P1000007_normal
96
#12 - h_east (DDD ready) / @h_east

02/12/2011 at 12:56AM

Dbos_normal
99
#13 - Danny O'Sullivan / @db0s

01/06/2011 at 03:49AM

Avatar_normal
99
#14 - Øystein Walle / @oysteinwalle

07/04/2011 at 11:32AM

T_e_normal
102
#15 - Tim Chase / @gumnos

01/05/2011 at 05:30PM

29ed1f20888463b3b72bd9fed88a79b8_normal
102
#16 - drio / @drio

01/17/2011 at 04:03PM

Judu-chapeau-twitr_normal
225
#17 - julien durillon / @juuduu

06/28/2011 at 04:30PM

Bc879469f279ee24b7fbdfad7c2216d9_normal
1834
#18 - 無ん垢の叫び / @john_ababa

02/25/2012 at 11:56PM