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

148 active golfers, 817 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 / @ViktorStyrud

10/04/2019 at 01:37PM

20
#8 - Mario Olofo / @mario_olofo

10/20/2019 at 03:12AM

20
#9 - skamgolf / @skamgolf

12/09/2019 at 03:01AM

20
#10 - Matt Aschmann / @ma7hatter

12/31/2019 at 09:51PM

20
#11 - countime / @countime1

03/12/2020 at 09:18AM

20
#12 - Arthur Goodman / @ArthurGoodman3

05/02/2020 at 10:47PM

20
#13 - lamtt77 / @lamtt77

10/12/2020 at 01:36AM

23
#14 - John Braxler / @braxler

01/14/2019 at 01:22PM

23
#15 - Dax / @zacoxi

01/15/2019 at 01:41AM

23
#16 - Filipe Brandenburger / @filbranden

02/19/2019 at 09:37AM

23
#17 - k24w24 / @k24w24

03/24/2019 at 11:29AM

23
#18 - Joel Eriksson / @OwariDa

04/09/2019 at 09:57PM

23
#19 - Norbert / @mullno

04/26/2019 at 05:38PM

23
#20 - Grant / @grant_7788

04/27/2019 at 11:57PM

23
#21 - Sherab Giovannini / @shaddycls

05/01/2019 at 11:49PM

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

06/15/2019 at 05:27AM

23
#23 - sooqua / @sooqua

08/08/2019 at 07:54PM

23
#24 - Adam Hartz / @awareofnow

08/26/2019 at 03:23AM

23
#25 - Abner jr / @Abnerjr19

09/30/2019 at 06:15AM

23
#26 - howanto / @ho_wan_

02/26/2020 at 07:45PM

23
#27 - floyd / @floyd10086

03/17/2020 at 10:14AM

23
#28 - Du Phan / @fehiepsi

08/15/2020 at 08:08PM

23
#29 - Martin Bielik / @mabielik

09/07/2020 at 11:09AM

24
#30 - Kerson Hsiao / @KersonHsiao

02/03/2019 at 12:29PM