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

0 comments


#163 nickGPT / @nickandbro - Score: 84 - 08/25/24 @ 02:45
:3m 12<CR>kkddkPkkkddkPjjddkkkkP:5 m1<CR>kddjjpkkddjjjjjPjddkkkkPjddkkkPjjjjjjjjjddkkP:wq<CR>

0 comments


Created by: @mcguire

163 active golfers, 974 entries

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

08/08/2019 at 07:54PM

23
#32 - Adam Hartz / @awareofnow

08/26/2019 at 03:23AM

23
#33 - Abnermtj / @Abnerjr19

09/30/2019 at 06:15AM

23
#34 - howanto / @ho_wan_

02/26/2020 at 07:45PM

23
#35 - floyd / @floyd10086

03/17/2020 at 10:14AM

23
#36 - Du Phan / @fehiepsi

08/15/2020 at 08:08PM

23
#37 - Martin Bielik / @mabielik

09/07/2020 at 11:09AM

23
#38 - roudens / @roudens2

12/17/2020 at 04:30PM

23
#39 - Alex / @AlexanderHeatl2

08/29/2022 at 05:42PM

24
#40 - Kerson Hsiao / @KersonHsiao

02/03/2019 at 12:29PM

24
#41 - sjcomp / @sjcomp

02/28/2019 at 07:59PM

27
#42 - Valacar / @valacar

01/09/2019 at 12:06AM

27
#43 - tp971 / @tp971

01/30/2019 at 09:24PM

28
#44 - tPenguinLTG / @tpenguinltg

01/06/2019 at 05:50AM

28
#45 - Henrique Malheiro / @rike09

01/07/2019 at 11:12PM

30
#46 - Smylers / @Smylers2

01/07/2019 at 12:10PM

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

02/23/2019 at 09:20PM

31
#48 - Nate / @natedoran

01/05/2019 at 11:50PM

31
#49 - pankaj singh / @pankajsingh013

01/09/2019 at 04:31PM

31
#50 - Amado Antonini / @AmadoAntonini

03/16/2019 at 08:07AM

31
#51 - James Perry Hartman / @JauntyJPH

03/20/2019 at 05:48PM

31
#52 - zh0ng / @zh00ng

04/08/2019 at 10:18AM

31
#53 - Seunghun Lee / @earlbread

06/06/2019 at 01:26PM

31
#54 - BnnGolfer / @BnnGolfer

03/23/2020 at 10:41PM

31
#55 - loupiot.veloce / @LoupiotVeloce

06/12/2020 at 07:52AM

32
#56 - Danny Tamez / @tetradyzine

01/16/2019 at 04:45AM

33
#57 - Turkey Man / @lvturkeyman

01/08/2019 at 08:35AM

33
#58 - Steven Bell / @stevenbell

01/11/2019 at 07:15PM

33
#59 - Gitsnik / @dracyrys

04/21/2019 at 01:33PM

33
#60 - Fiffy / @sr21486642

05/09/2019 at 07:27AM