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 6010dc493e0f8d0009eddcf9

Count to 100 in word form

Write all the numbers from 1 to 100, using their word forms rather than the digit form. Most of the parts you will need are included in the input file. Use hyphens when appropriate.

Start file
one two three four five six seven eight nine ten eleven twelve thirteen
twenty thirty forty fifty sixty seventy eighty ninety
hundred
End file
one
two
three
four
five
six
seven
eight
nine
ten
eleven
twelve
thirteen
fourteen
fifteen
sixteen
seventeen
eighteen
nineteen
twenty
twenty-one
twenty-two
twenty-three
twenty-four
twenty-five
twenty-six
twenty-seven
twenty-eight
twenty-nine
thirty
thirty-one
thirty-two
thirty-three
thirty-four
thirty-five
thirty-six
thirty-seven
thirty-eight
thirty-nine
forty
forty-one
forty-two
forty-three
forty-four
forty-five
forty-six
forty-seven
forty-eight
forty-nine
fifty
fifty-one
fifty-two
fifty-three
fifty-four
fifty-five
fifty-six
fifty-seven
fifty-eight
fifty-nine
sixty
sixty-one
sixty-two
sixty-three
sixty-four
sixty-five
sixty-six
sixty-seven
sixty-eight
sixty-nine
seventy
seventy-one
seventy-two
seventy-three
seventy-four
seventy-five
seventy-six
seventy-seven
seventy-eight
seventy-nine
eighty
eighty-one
eighty-two
eighty-three
eighty-four
eighty-five
eighty-six
eighty-seven
eighty-eight
eighty-nine
ninety
ninety-one
ninety-two
ninety-three
ninety-four
ninety-five
ninety-six
ninety-seven
ninety-eight
ninety-nine
one hundred

View Diff

1,3c1,100
< one two three four five six seven eight nine ten eleven twelve thirteen
< twenty thirty forty fifty sixty seventy eighty ninety
< hundred
---
> one
> two
> three
> four
> five
> six
> seven
> eight
> nine
> ten
> eleven
> twelve
> thirteen
> fourteen
> fifteen
> sixteen
> seventeen
> eighteen
> nineteen
> twenty
> twenty-one
> twenty-two
> twenty-three
> twenty-four
> twenty-five
> twenty-six
> twenty-seven
> twenty-eight
> twenty-nine
> thirty
> thirty-one
> thirty-two
> thirty-three
> thirty-four
> thirty-five
> thirty-six
> thirty-seven
> thirty-eight
> thirty-nine
> forty
> forty-one
> forty-two
> forty-three
> forty-four
> forty-five
> forty-six
> forty-seven
> forty-eight
> forty-nine
> fifty
> fifty-one
> fifty-two
> fifty-three
> fifty-four
> fifty-five
> fifty-six
> fifty-seven
> fifty-eight
> fifty-nine
> sixty
> sixty-one
> sixty-two
> sixty-three
> sixty-four
> sixty-five
> sixty-six
> sixty-seven
> sixty-eight
> sixty-nine
> seventy
> seventy-one
> seventy-two
> seventy-three
> seventy-four
> seventy-five
> seventy-six
> seventy-seven
> seventy-eight
> seventy-nine
> eighty
> eighty-one
> eighty-two
> eighty-three
> eighty-four
> eighty-five
> eighty-six
> eighty-seven
> eighty-eight
> eighty-nine
> ninety
> ninety-one
> ninety-two
> ninety-three
> ninety-four
> ninety-five
> ninety-six
> ninety-seven
> ninety-eight
> ninety-nine
> one hundred

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 11 remaining solutions by signing in and submitting your own entry
#12 Tuure / @tuure_p - Score: 97 - 05/17/21 @ 18:49
ywJ+P-f r<CR>qq;.q18@q:let @a='13-y$14j$p'<CR>qqGkdd13G2pjA-<Esc>Y8pkk9@aq7@q4G6Y9jp<C-V>5j$Ateen<Esc>jllxrf3jllxZZ

0 comments


#13 Yondonjamts Ganzorig / @yondonjamts_g - Score: 97 - 07/24/21 @ 08:57
ywJ+P-f r<CR>qq;.q18@q:let @a='13-y$14j$p'<CR>qqGkdd13G2pjA-<Esc>Y8pkk9@aq7@q4G6Y9jp<C-V>5j$Ateen<Esc>jllxrf3jllxZZ

0 comments


Created by: @BiddulphCaleb

13 active golfers, 45 entries

Leaderboard (lowest score wins):
55
#1 - John Braxler / @braxler

09/03/2021 at 05:47PM

62
#2 - Georg Bökman / @BokmanGeorg

07/03/2021 at 02:56PM

62
#3 - 悟史 / @A1OBJTxN5fTg5EJ

07/13/2021 at 02:53PM

65
#4 - Miłosz Łakomy / @foobar01123

07/08/2021 at 08:29AM

75
#5 - treb / @treb03683130

03/18/2021 at 12:42PM

77
#6 - Smylers / @Smylers2

02/01/2021 at 09:41PM

78
#7 - models / @zornificator

06/23/2021 at 12:51PM

78
#8 - sap / @sap38838304

07/03/2021 at 06:40PM

81
#9 - czheo / @czheo

06/08/2021 at 01:31PM

82
#10 - simplelife2010 / @simplelife20101

05/13/2021 at 02:37PM

83
#11 - Sven Kõiv / @KoivSven

05/09/2021 at 04:13PM

97
#12 - Tuure / @tuure_p

05/17/2021 at 06:49PM

97
#13 - Yondonjamts Ganzorig / @yondonjamts_g

07/24/2021 at 08:57AM