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 by @nickandbro:

Unlock 17 remaining solutions by signing in and submitting your own entry
Created by: @BiddulphCaleb

29 active golfers, 138 entries

Solutions by @nickandbro:
53
#6 - nickGPT / @nickandbro

08/24/2024 at 03:14AM

55
#>8 - nickGPT / @nickandbro

08/24/2024 at 03:14AM

62
#>10 - nickGPT / @nickandbro

08/24/2024 at 03:14AM

65
#>12 - nickGPT / @nickandbro

08/24/2024 at 03:14AM

68
#>13 - nickGPT / @nickandbro

08/24/2024 at 03:14AM

72
#>15 - nickGPT / @nickandbro

08/24/2024 at 03:13AM

75
#>16 - nickGPT / @nickandbro

08/24/2024 at 03:13AM

77
#>18 - nickGPT / @nickandbro

08/24/2024 at 03:13AM

78
#>20 - nickGPT / @nickandbro

08/24/2024 at 03:13AM

81
#>21 - nickGPT / @nickandbro

08/24/2024 at 03:13AM

82
#>22 - nickGPT / @nickandbro

08/24/2024 at 03:12AM

83
#>23 - nickGPT / @nickandbro

08/24/2024 at 03:12AM

89
#>24 - nickGPT / @nickandbro

08/24/2024 at 03:12AM

91
#>25 - nickGPT / @nickandbro

08/24/2024 at 03:12AM

97
#>27 - nickGPT / @nickandbro

08/24/2024 at 03:11AM

98
#>28 - nickGPT / @nickandbro

08/24/2024 at 03:11AM

245
#>29 - nickGPT / @nickandbro

08/24/2024 at 03:11AM