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):
35
#61 - edvrds / @edvrds

04/21/2020 at 11:11AM

35
#62 - garry quested / @GQuested

05/27/2020 at 09:51AM

36
#63 - Mateen Ulhaq / @sicariusnoctis

02/12/2019 at 08:18AM

36
#64 - ytrxc38754975 / @royaso

04/13/2019 at 02:10PM

36
#65 - Seve / @Seve_py

04/11/2020 at 08:27PM

37
#66 - matthew brett / @matthewbrett

01/06/2019 at 06:52AM

37
#67 - LC / @leeren

01/23/2019 at 06:51PM

37
#68 - Sébastien Roccaserra / @sroccaserra

01/26/2019 at 12:06AM

37
#69 - Fluidjax / @fluidjax

05/30/2020 at 06:12AM

37
#70 - Jon Krause / @jkrause314

12/17/2020 at 06:31AM

37
#71 - Jean George / @JeanGeo20504212

09/11/2021 at 01:37AM

38
#72 - Lukas Galke / @_lpag

01/04/2019 at 11:21PM

38
#73 - z0k / @z0k

06/09/2019 at 03:54AM

38
#74 - Brendan Schaenzer / @bschaenzer

09/30/2020 at 01:57PM

39
#75 - Netrisk Cool / @C00lt0

01/06/2019 at 11:58AM

39
#76 - TimMcGuire / @mcguire

01/13/2019 at 02:58PM

40
#77 - Slawek Ligus / @ooz_ie

01/05/2019 at 06:39AM

40
#78 - james_bunch / @james_bunch

04/03/2019 at 08:27PM

40
#79 - wanghbxxxx / @wanghbxxxx

04/04/2019 at 01:34AM

40
#80 - soundscope / @__soundscope__

06/30/2020 at 11:42AM

41
#81 - rg thomas / @rgt47

01/14/2019 at 02:57AM

41
#82 - Sebastien Nicoud / @sebnukem

02/03/2019 at 01:30AM

42
#83 - Fl4t / @Fl4t

01/06/2019 at 09:35PM

42
#84 - Rasmus Bergström / @JRasmusBm

02/07/2019 at 08:05AM

43
#85 - Lory / @Lory46845742

11/07/2019 at 03:45PM

44
#86 - Brome / @Brome20887421

01/05/2019 at 09:01AM

44
#87 - antoine mas / @aneomas

01/06/2019 at 03:54PM

44
#88 - Dan Kilman / @dan_kilman

01/04/2020 at 02:25PM

45
#89 - Martin Bohnenblust / @TheRealBohni

01/08/2019 at 07:12PM

45
#90 - churaki / @churaki

01/25/2019 at 09:51PM