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 52 remaining solutions by signing in and submitting your own entry
#53 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

53 active golfers, 146 entries

Leaderboard (lowest score wins):
38
#31 - Nikita Kouevda / @nkouevda

04/04/2014 at 06:53AM

38
#32 - ところたん / @tokoro10g

04/06/2014 at 02:38PM

38
#33 - Endir / @Endir2

04/17/2014 at 04:49PM

38
#34 - 3X4n5 / @3X4n5

05/06/2014 at 01:11PM

38
#35 - T / @tea_sea

05/12/2014 at 04:15PM

38
#36 - John Meisner / @jmeisned

06/28/2014 at 02:56AM

38
#37 - James / @Dronak

09/21/2014 at 02:06AM

38
#38 - Eric Kever / @codeoverlode

09/29/2014 at 11:11PM

38
#39 - Mauro Persano / @fzort

11/16/2014 at 11:45AM

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

01/18/2015 at 09:27PM

38
#41 - Jon Krause / @jkrause314

12/08/2015 at 09:51PM

38
#42 - Jan Bundesmann / @janbundesmann

05/18/2016 at 08:38AM

38
#43 - Tuure / @tuure_p

03/16/2021 at 05:07AM

38
#44 - Alex / @AlexanderHeatl2

08/30/2022 at 04:46PM

39
#45 - esquifit / @henroboke

03/22/2014 at 01:09PM

42
#46 - Tim Chase / @gumnos

03/21/2014 at 01:00PM

42
#47 - xarmux / @xarmux

03/27/2014 at 12:20AM

42
#48 - James T. Huggett / @Jmeshka

09/02/2014 at 01:08PM

42
#49 - 0xf00ff00f / @0xf00ff00f

02/18/2025 at 06:28PM

43
#50 - Pedro Santos / @pedrosans

03/21/2014 at 08:20PM

44
#51 - Robert Siemieniec / @rsiemieniec

03/24/2014 at 12:16PM

48
#52 - Brian Olpin / @bolpin

03/23/2014 at 06:19AM

49
#53 - Strabs / @artistavenue

03/21/2014 at 02:34PM