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 5c2fdc20327666000cd05aac

Put the months in order

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

Start file
April
August
December
February
January
July
June
March
May
November
October
September
End file
January
February
March
April
May
June
July
August
September
October
November
December

View Diff

1,4d0
< April
< August
< December
< February
6,7c2
< July
< June
---
> February
8a4
> April
10,11c6,8
< November
< October
---
> June
> July
> August
13c10,12
<
---
> October
> November
> December

Solutions by @struthersneil:

Unlock 10 remaining solutions by signing in and submitting your own entry
Created by: @mcguire

163 active golfers, 974 entries

Solutions by @struthersneil:
20
#1 - Neil Struthers / @struthersneil

07/17/2019 at 07:23PM

20
#>1 - Neil Struthers / @struthersneil

07/17/2019 at 07:43PM

20
#>1 - Neil Struthers / @struthersneil

07/17/2019 at 07:46PM

20
#>1 - Neil Struthers / @struthersneil

07/17/2019 at 08:04PM

20
#>1 - Neil Struthers / @struthersneil

07/17/2019 at 09:31PM

21
#>22 - Neil Struthers / @struthersneil

07/17/2019 at 07:21PM

21
#>22 - Neil Struthers / @struthersneil

07/17/2019 at 07:22PM

22
#>22 - Neil Struthers / @struthersneil

07/17/2019 at 07:18PM

32
#>56 - Neil Struthers / @struthersneil

07/17/2019 at 06:26PM

44
#>94 - Neil Struthers / @struthersneil

07/17/2019 at 06:49PM