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

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 83 remaining solutions by signing in and submitting your own entry
#84 Graham Singer / @grahamsinger - Score: 84 - 01/05/19 @ 04:51
:3m 12<CR>kkddkPkkkddkPjjddkkkkP:5 m1<CR>kddjjpkkddjjjjjPjddkkkkPjddkkkPjjjjjjjjjddkkP:wq<CR>

0 comments


Created by: @mcguire

84 active golfers, 373 entries

Leaderboard (lowest score wins):
23
#1 - Saki Gw / @Sakigw

01/14/2019 at 11:57AM

23
#2 - John Braxler / @braxler

01/14/2019 at 01:22PM

23
#3 - Dax / @zacoxi

01/15/2019 at 01:41AM

23
#4 - filbranden / @filbranden

02/19/2019 at 09:37AM

23
#5 - k24w24 / @k24w24

03/24/2019 at 11:29AM

23
#6 - Joel Eriksson / @OwariDa

04/09/2019 at 09:57PM

23
#7 - Norbert / @mullno

04/26/2019 at 05:38PM

23
#8 - Grant / @grant_7788

04/27/2019 at 11:57PM

23
#9 - Sherab Giovannini / @shaddycls

05/01/2019 at 11:49PM

24
#10 - Kerson Hsiao / @KersonHsiao

02/03/2019 at 12:29PM

24
#11 - sjcomp / @sjcomp

02/28/2019 at 07:59PM

27
#12 - Valacar / @valacar

01/09/2019 at 12:06AM

27
#13 - tp971 / @tp971

01/30/2019 at 09:24PM

28
#14 - tPenguinLTG / @tpenguinltg

01/06/2019 at 05:50AM

28
#15 - Henrique Malheiro / @rike09

01/07/2019 at 11:12PM

30
#16 - Smylers / @Smylers2

01/07/2019 at 12:10PM

30
#17 - Titouan Teyssier / @TitouanT_

02/23/2019 at 09:20PM

31
#18 - Nate / @natedoran

01/05/2019 at 11:50PM

31
#19 - pankaj singh / @pankajsingh013

01/09/2019 at 04:31PM

31
#20 - Amado Antonini / @AmadoAntonini

03/16/2019 at 08:07AM

31
#21 - James Perry Hartman / @JauntyJPH

03/20/2019 at 05:48PM

31
#22 - zh0ng / @zh00ng

04/08/2019 at 10:18AM

32
#23 - Danny Tamez / @tetradyzine

01/16/2019 at 04:45AM

33
#24 - Turkey Man / @lvturkeyman

01/08/2019 at 08:35AM

33
#25 - Steven Bell / @stevenbell

01/11/2019 at 07:15PM

33
#26 - Gitsnik / @dracyrys

04/21/2019 at 01:33PM

33
#27 - Fiffy / @sr21486642

05/09/2019 at 07:27AM

35
#28 - enji / @enji_ja

03/19/2019 at 12:10AM

35
#29 - Daniel Hakimian / @danrafhak

05/16/2019 at 12:44AM

36
#30 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:18AM