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

155 active golfers, 915 entries

Leaderboard (lowest score wins):
23
#31 - floyd / @floyd10086

03/17/2020 at 10:14AM

23
#32 - Du Phan / @fehiepsi

08/15/2020 at 08:08PM

23
#33 - Martin Bielik / @mabielik

09/07/2020 at 11:09AM

23
#34 - roudens / @roudens2

12/17/2020 at 04:30PM

24
#35 - Kerson Hsiao / @KersonHsiao

02/03/2019 at 12:29PM

24
#36 - sjcomp / @sjcomp

02/28/2019 at 07:59PM

27
#37 - Valacar / @valacar

01/09/2019 at 12:06AM

27
#38 - tp971 / @tp971

01/30/2019 at 09:24PM

28
#39 - tPenguinLTG / @tpenguinltg

01/06/2019 at 05:50AM

28
#40 - Henrique Malheiro / @rike09

01/07/2019 at 11:12PM

30
#41 - Smylers / @Smylers2

01/07/2019 at 12:10PM

30
#42 - 𝚃𝚒𝚝𝚘𝚞𝚊𝚗 𝚃𝚎𝚢𝚜𝚜𝚒𝚎𝚛 / @TitouanT_

02/23/2019 at 09:20PM

31
#43 - Nate / @natedoran

01/05/2019 at 11:50PM

31
#44 - pankaj singh / @pankajsingh013

01/09/2019 at 04:31PM

31
#45 - Amado Antonini / @AmadoAntonini

03/16/2019 at 08:07AM

31
#46 - James Perry Hartman / @JauntyJPH

03/20/2019 at 05:48PM

31
#47 - zh0ng / @zh00ng

04/08/2019 at 10:18AM

31
#48 - Seunghun Lee / @earlbread

06/06/2019 at 01:26PM

31
#49 - BnnGolfer / @BnnGolfer

03/23/2020 at 10:41PM

31
#50 - loupiot.veloce / @LoupiotVeloce

06/12/2020 at 07:52AM

32
#51 - Danny Tamez / @tetradyzine

01/16/2019 at 04:45AM

33
#52 - Turkey Man / @lvturkeyman

01/08/2019 at 08:35AM

33
#53 - Steven Bell / @stevenbell

01/11/2019 at 07:15PM

33
#54 - Gitsnik / @dracyrys

04/21/2019 at 01:33PM

33
#55 - Fiffy / @sr21486642

05/09/2019 at 07:27AM

33
#56 - Chester Yap / @Chest_ErYap

07/28/2019 at 11:39PM

33
#57 - Martin Kauppinen / @MartinKauppinen

08/16/2020 at 03:42PM

34
#58 - Baine Wedlock / @BaineWedlock

09/20/2019 at 11:00AM

35
#59 - enji / @enji_ja

03/19/2019 at 12:10AM

35
#60 - Daniel Hakimian / @danrafhak

05/16/2019 at 12:44AM