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

112 active golfers, 577 entries

Leaderboard (lowest score wins):
20
#1 - Neil Struthers / @struthersneil

07/17/2019 at 07:23PM

20
#2 - Saki Gw / @Sakigw

07/19/2019 at 09:52AM

20
#3 - Joe FahnestockđŸŒ” / @Joecupojoe

08/02/2019 at 12:29AM

20
#4 - Martin Delille / @martinodelilo

08/23/2019 at 02:54PM

20
#5 - Zach Ingbretsen / @ZIngbretsen

09/08/2019 at 01:32PM

20
#6 - vimgolfer / @vimgolfer7

09/30/2019 at 03:58AM

20
#7 - Viktor Styrud / @Visklol

10/04/2019 at 01:37PM

20
#8 - Mario Olofo / @mario_olofo

10/20/2019 at 03:12AM

23
#9 - John Braxler / @braxler

01/14/2019 at 01:22PM

23
#10 - Dax / @zacoxi

01/15/2019 at 01:41AM

23
#11 - Filipe Brandenburger / @filbranden

02/19/2019 at 09:37AM

23
#12 - k24w24 / @k24w24

03/24/2019 at 11:29AM

23
#13 - Joel Eriksson / @OwariDa

04/09/2019 at 09:57PM

23
#14 - Norbert / @mullno

04/26/2019 at 05:38PM

23
#15 - Grant / @grant_7788

04/27/2019 at 11:57PM

23
#16 - Sherab Giovannini / @shaddycls

05/01/2019 at 11:49PM

23
#17 - MiƂosz Ɓakomy / @foobar01123

06/15/2019 at 05:27AM

23
#18 - sooqua / @sooqua

08/08/2019 at 07:54PM

23
#19 - Adam Hartz / @awareofnow

08/26/2019 at 03:23AM

23
#20 - Abner jr / @Abnerjr19

09/30/2019 at 06:15AM

24
#21 - Kerson Hsiao / @KersonHsiao

02/03/2019 at 12:29PM

24
#22 - sjcomp / @sjcomp

02/28/2019 at 07:59PM

27
#23 - Valacar / @valacar

01/09/2019 at 12:06AM

27
#24 - tp971 / @tp971

01/30/2019 at 09:24PM

28
#25 - tPenguinLTG / @tpenguinltg

01/06/2019 at 05:50AM

28
#26 - Henrique Malheiro / @rike09

01/07/2019 at 11:12PM

30
#27 - Smylers / @Smylers2

01/07/2019 at 12:10PM

30
#28 - Titouan Teyssier / @TitouanT_

02/23/2019 at 09:20PM

31
#29 - Nate / @natedoran

01/05/2019 at 11:50PM

31
#30 - pankaj singh / @pankajsingh013

01/09/2019 at 04:31PM