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 67 remaining solutions by signing in and submitting your own entry
#68 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

68 active golfers, 261 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

24
#5 - Kerson Hsiao / @KersonHsiao

02/03/2019 at 12:29PM

24
#6 - sjcomp / @sjcomp

02/28/2019 at 07:59PM

27
#7 - Valacar / @valacar

01/09/2019 at 12:06AM

27
#8 - tp971 / @tp971

01/30/2019 at 09:24PM

28
#9 - tPenguinLTG / @tpenguinltg

01/06/2019 at 05:50AM

28
#10 - Henrique Malheiro / @rike09

01/07/2019 at 11:12PM

30
#11 - Smylers / @Smylers2

01/07/2019 at 12:10PM

30
#12 - Titouan Teyssier / @TitouanT_

02/23/2019 at 09:20PM

31
#13 - Nate / @natedoran

01/05/2019 at 11:50PM

31
#14 - pankaj singh / @pankajsingh013

01/09/2019 at 04:31PM

31
#15 - Amado Antonini / @AmadoAntonini

03/16/2019 at 08:07AM

31
#16 - James Perry Hartman / @JauntyJPH

03/20/2019 at 05:48PM

32
#17 - Danny Tamez / @tetradyzine

01/16/2019 at 04:45AM

33
#18 - Turkey Man / @lvturkeyman

01/08/2019 at 08:35AM

33
#19 - Steven Bell / @stevenbell

01/11/2019 at 07:15PM

35
#20 - enji / @enji_jp

03/19/2019 at 12:10AM

36
#21 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:18AM

37
#22 - matthew brett / @matthewbrett

01/06/2019 at 06:52AM

37
#23 - LC / @leeren

01/23/2019 at 06:51PM

37
#24 - S├ębastien Roccaserra / @sroccaserra

01/26/2019 at 12:06AM

38
#25 - Lukas Galke / @_lpag

01/04/2019 at 11:21PM

39
#26 - Netrisk Cool / @C00lt0

01/06/2019 at 11:58AM

39
#27 - TimMcGuire / @mcguire

01/13/2019 at 02:58PM

40
#28 - Slawek Ligus / @ooz_ie

01/05/2019 at 06:39AM

41
#29 - rg thomas / @rgt47

01/14/2019 at 02:57AM

41
#30 - Sebastien Nicoud / @sebnukem

02/03/2019 at 01:30AM