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 @scottrick49:

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

146 active golfers, 293 entries

Solutions by @scottrick49:
12
#52 - Scott Atkins / @scottrick49

07/20/2021 at 01:58PM

13
#>66 - Scott Atkins / @scottrick49

07/20/2021 at 01:53PM

13
#>66 - Scott Atkins / @scottrick49

07/20/2021 at 02:00PM

14
#>126 - Scott Atkins / @scottrick49

07/20/2021 at 01:51PM

15
#>129 - Scott Atkins / @scottrick49

07/20/2021 at 01:52PM

16
#>132 - Scott Atkins / @scottrick49

07/20/2021 at 01:47PM

16
#>132 - Scott Atkins / @scottrick49

07/20/2021 at 01:49PM

16
#>132 - Scott Atkins / @scottrick49

07/20/2021 at 01:49PM

16
#>132 - Scott Atkins / @scottrick49

07/20/2021 at 01:51PM

18
#>135 - Scott Atkins / @scottrick49

07/20/2021 at 01:52PM

23
#>138 - Scott Atkins / @scottrick49

07/20/2021 at 01:46PM

33
#>138 - Scott Atkins / @scottrick49

07/20/2021 at 01:46PM

162
#>145 - Scott Atkins / @scottrick49

07/20/2021 at 01:46PM