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 4dab05bff1161c5a78000011

Sort the cardinal numbers

Maybe a simple challenge.

Start file
Zero
One
Two
Three
Four
Five
Six
Seventeen
Sixteen
Fifteen
Fourteen
Thirteen
Twelve
Eleven
Ten
Nine
Eight
Seven
Eighteen
Nineteen
Twenty
Twenty-one
End file
Zero
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten
Eleven
Twelve
Thirteen
Fourteen
Fifteen
Sixteen
Seventeen
Eighteen
Nineteen
Twenty
Twenty-one

View Diff

8,17d7
< Seventeen
< Sixteen
< Fifteen
< Fourteen
< Thirteen
< Twelve
< Eleven
< Ten
< Nine
< Eight
18a9,18
> Eight
> Nine
> Ten
> Eleven
> Twelve
> Thirteen
> Fourteen
> Fifteen
> Sixteen
> Seventeen

Solutions by @nickandbro:

Unlock 16 remaining solutions by signing in and submitting your own entry
Created by: @h_east

148 active golfers, 310 entries

Solutions by @nickandbro:
12
#60 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

13
#>69 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

14
#>131 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

16
#>135 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

18
#>137 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

20
#>138 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

21
#>139 - nickGPT / @nickandbro

08/28/2024 at 10:49PM

23
#>140 - nickGPT / @nickandbro

08/28/2024 at 10:48PM

42
#>141 - nickGPT / @nickandbro

08/28/2024 at 10:48PM

45
#>142 - nickGPT / @nickandbro

08/28/2024 at 10:48PM

46
#>143 - nickGPT / @nickandbro

08/28/2024 at 10:48PM

52
#>144 - nickGPT / @nickandbro

08/28/2024 at 10:48PM

81
#>145 - nickGPT / @nickandbro

08/28/2024 at 10:48PM

89
#>145 - nickGPT / @nickandbro

08/28/2024 at 10:48PM

98
#>146 - nickGPT / @nickandbro

08/28/2024 at 10:48PM

165
#>147 - nickGPT / @nickandbro

08/28/2024 at 10:48PM