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

Before there was Farmville...

There was old MacDonald. For my toddler. The first Vim sing-a-long?

Start file
cows moo
horses neigh
ducks quack
geese honk
hens cluck
chicks peep
pigs oink
sheep baa
End file
Old MacDonald had a farm, E I E I O.
And on that farm he had a cow, E I E I O.
With a moo, moo here and a moo, moo there.
Here a moo, there a moo, everywhere a moo, moo.
Old MacDonald had a farm, E I E I O.

Old MacDonald had a farm, E I E I O.
And on that farm he had a horse, E I E I O.
With a neigh, neigh here and a neigh, neigh there.
Here a neigh, there a neigh, everywhere a neigh, neigh.
Old MacDonald had a farm, E I E I O.

Old MacDonald had a farm, E I E I O.
And on that farm he had a duck, E I E I O.
With a quack, quack here and a quack, quack there.
Here a quack, there a quack, everywhere a quack, quack.
Old MacDonald had a farm, E I E I O.

Old MacDonald had a farm, E I E I O.
And on that farm he had a goose, E I E I O.
With a honk, honk here and a honk, honk there.
Here a honk, there a honk, everywhere a honk, honk.
Old MacDonald had a farm, E I E I O.

Old MacDonald had a farm, E I E I O.
And on that farm he had a hen, E I E I O.
With a cluck, cluck here and a cluck, cluck there.
Here a cluck, there a cluck, everywhere a cluck, cluck.
Old MacDonald had a farm, E I E I O.

Old MacDonald had a farm, E I E I O.
And on that farm he had a chick, E I E I O.
With a peep, peep here and a peep, peep there.
Here a peep, there a peep, everywhere a peep, peep.
Old MacDonald had a farm, E I E I O.

Old MacDonald had a farm, E I E I O.
And on that farm he had a pig, E I E I O.
With an oink, oink here and an oink, oink there.
Here an oink, there an oink, everywhere an oink, oink.
Old MacDonald had a farm, E I E I O.

Old MacDonald had a farm, E I E I O.
And on that farm he had a sheep, E I E I O.
With a baa, baa here and a baa, baa there.
Here a baa, there a baa, everywhere a baa, baa.
Old MacDonald had a farm, E I E I O.

View Diff

1,8c1,47
< cows moo
< horses neigh
< ducks quack
< geese honk
< hens cluck
< chicks peep
< pigs oink
< sheep baa
---
> Old MacDonald had a farm, E I E I O.
> And on that farm he had a cow, E I E I O.
> With a moo, moo here and a moo, moo there.
> Here a moo, there a moo, everywhere a moo, moo.
> Old MacDonald had a farm, E I E I O.
> 
> Old MacDonald had a farm, E I E I O.
> And on that farm he had a horse, E I E I O.
> With a neigh, neigh here and a neigh, neigh there.
> Here a neigh, there a neigh, everywhere a neigh, neigh.
> Old MacDonald had a farm, E I E I O.
> 
> Old MacDonald had a farm, E I E I O.
> And on that farm he had a duck, E I E I O.
> With a quack, quack here and a quack, quack there.
> Here a quack, there a quack, everywhere a quack, quack.
> Old MacDonald had a farm, E I E I O.
> 
> Old MacDonald had a farm, E I E I O.
> And on that farm he had a goose, E I E I O.
> With a honk, honk here and a honk, honk there.
> Here a honk, there a honk, everywhere a honk, honk.
> Old MacDonald had a farm, E I E I O.
> 
> Old MacDonald had a farm, E I E I O.
> And on that farm he had a hen, E I E I O.
> With a cluck, cluck here and a cluck, cluck there.
> Here a cluck, there a cluck, everywhere a cluck, cluck.
> Old MacDonald had a farm, E I E I O.
> 
> Old MacDonald had a farm, E I E I O.
> And on that farm he had a chick, E I E I O.
> With a peep, peep here and a peep, peep there.
> Here a peep, there a peep, everywhere a peep, peep.
> Old MacDonald had a farm, E I E I O.
> 
> Old MacDonald had a farm, E I E I O.
> And on that farm he had a pig, E I E I O.
> With an oink, oink here and an oink, oink there.
> Here an oink, there an oink, everywhere an oink, oink.
> Old MacDonald had a farm, E I E I O.
> 
> Old MacDonald had a farm, E I E I O.
> And on that farm he had a sheep, E I E I O.
> With a baa, baa here and a baa, baa there.
> Here a baa, there a baa, everywhere a baa, baa.
> Old MacDonald had a farm, E I E I O.

Solutions by @virako:

Unlock 9 remaining solutions by signing in and submitting your own entry
Created by: @gumnos

49 active golfers, 101 entries

Solutions by @virako:
156
#1 - Victor Ramirez / @virako

10/18/2012 at 12:01AM

163
#>7 - Victor Ramirez / @virako

10/17/2012 at 11:56PM

202
#>14 - Victor Ramirez / @virako

10/17/2012 at 11:52PM

212
#>20 - Victor Ramirez / @virako

10/17/2012 at 08:50PM

220
#>25 - Victor Ramirez / @virako

10/17/2012 at 07:23AM

229
#>32 - Victor Ramirez / @virako

10/17/2012 at 07:16AM

229
#>32 - Victor Ramirez / @virako

10/17/2012 at 07:19AM

232
#>34 - Victor Ramirez / @virako

10/17/2012 at 07:15AM

243
#>39 - Victor Ramirez / @virako

08/27/2012 at 02:57PM