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 532bdb79fbefce0002650940

Piphilology

Piphilology comprises the creation and use of mnemonic techniques to remember a span of digits of the mathematical constant π. http://en.wikipedia.org/wiki/Piphilology

Start file
Sir, I bear a rhyme excelling
In mystic force and magic spelling
Celestial sprites elucidate
All my own striving cant relate
Or locate they who can cogitate
And so finally terminate. Finis.
End file
3.1415926535897932384626433832795

View Diff

1,6c1
< Sir, I bear a rhyme excelling
< In mystic force and magic spelling
< Celestial sprites elucidate
< All my own striving cant relate
< Or locate they who can cogitate
< And so finally terminate. Finis.
---
> 3.1415926535897932384626433832795

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 47 remaining solutions by signing in and submitting your own entry
#48 Strabs / @artistavenue - Score: 49 - 03/21/14 @ 14:34
6J:%s/\v(\w+)/\=len(submatch(0))/g<CR>:s/\W//g<CR>a.<Esc>ZZ

0 comments


Created by: @zulolosi

48 active golfers, 123 entries

Leaderboard (lowest score wins):
38
#31 - Endir / @Endir2

04/17/2014 at 04:49PM

38
#32 - 3X4n5 / @3X4n5

05/06/2014 at 01:11PM

38
#33 - Tom Cammann / @tea_sea

05/12/2014 at 04:15PM

38
#34 - John Meisner / @jmeisned

06/28/2014 at 02:56AM

38
#35 - James / @Dronak

09/21/2014 at 02:06AM

38
#36 - Eric Kever / @codeoverlode

09/29/2014 at 11:11PM

38
#37 - Mauro Persano / @fzort

11/16/2014 at 11:45AM

38
#38 - Carlos A Henríquez Q / @lagunex

01/18/2015 at 09:27PM

38
#39 - Jon Krause / @jkrause314

12/08/2015 at 09:51PM

38
#40 - Jan Bundesmann / @janbundesmann

05/18/2016 at 08:38AM

39
#41 - esquifit / @henroboke

03/22/2014 at 01:09PM

42
#42 - Tim Chase / @gumnos

03/21/2014 at 01:00PM

42
#43 - xarmux / @xarmux

03/27/2014 at 12:20AM

42
#44 - James T. Huggett / @Jmeshka

09/02/2014 at 01:08PM

43
#45 - Pedro Santos / @pedrosans

03/21/2014 at 08:20PM

44
#46 - Robert Siemieniec / @rsiemieniec

03/24/2014 at 12:16PM

48
#47 - Brian Olpin / @bolpin

03/23/2014 at 06:19AM

49
#48 - Strabs / @artistavenue

03/21/2014 at 02:34PM