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

52 active golfers, 144 entries

Leaderboard (lowest score wins):
28
#1 - Peppa Pig / @PeppaPi95550250

07/02/2024 at 03:03AM

28
#2 - John Braxler / @braxler

08/05/2024 at 03:32PM

29
#3 - Urtica dioica / @udioica

03/21/2014 at 07:42AM

29
#4 - David Shields / @salacio

04/22/2014 at 09:01PM

29
#5 - MP / @Enemy_m

05/20/2014 at 07:07PM

29
#6 - alexscott / @4l3xsc0tt

07/02/2014 at 01:54PM

29
#7 - Daniël De Koker / @daniel_koker

07/18/2018 at 11:46AM

29
#8 - Turkey Man / @lvturkeyman

10/30/2018 at 09:36AM

29
#9 - Martin Delille / @martinodelilo

09/01/2019 at 05:02PM

30
#10 - Daniel Pade / @d_fj_p

03/30/2014 at 01:03AM

30
#11 - Kerson Hsiao / @KersonHsiao

10/03/2014 at 01:40PM

31
#12 - Saki Gw / @Sakigw

03/20/2017 at 07:16PM

32
#13 - Matt / @mcr05

12/13/2014 at 08:02PM

32
#14 - pftb12345 / @pftb12345

04/25/2015 at 01:43PM

32
#15 - martin tourneboeuf / @martintournebo1

05/21/2017 at 11:56AM

34
#16 - Marcin Szamotulski / @me_coot

03/23/2014 at 02:42PM

34
#17 - Vlad-Ștefan Harbuz / @vladh

04/05/2014 at 12:36PM

34
#18 - Ram Tamtam / @ramtamtamtam

07/18/2014 at 01:14PM

35
#19 - Quota / @Quotad

03/24/2014 at 08:09AM

35
#20 - David Barker / @dashleybarker

11/29/2019 at 03:31PM

35
#21 - Иван / @wansmer

04/25/2023 at 03:18PM

38
#22 - Petro Тrouq / @zulolosi

03/21/2014 at 07:28AM

38
#23 - Marcin Cabaj / @marcincabaj

03/21/2014 at 12:33PM

38
#24 - Jean / @ygu0_0

03/21/2014 at 09:33PM

38
#25 - Kai Yuan / @kentyuan

03/22/2014 at 09:56PM

38
#26 - Jacob / @jayekub

03/22/2014 at 11:55PM

38
#27 - Andrew Loucky / @merely_oolong

03/24/2014 at 10:14PM

38
#28 - RobertT / @techrt2050

03/26/2014 at 03:31AM

38
#29 - Carlos López / @morrizon

03/31/2014 at 09:37AM

38
#30 - Dmitry Teslenko / @krab_mozga

04/02/2014 at 06:38AM