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

119 active golfers, 628 entries

Leaderboard (lowest score wins):
42
#61 - Rasmus Bergström / @JRasmusBm

02/07/2019 at 08:05AM

43
#62 - Lory / @Lory46845742

11/07/2019 at 03:45PM

44
#63 - Brome / @Brome20887421

01/05/2019 at 09:01AM

44
#64 - antoine mas / @aneomas

01/06/2019 at 03:54PM

44
#65 - Dan Kilman / @dan_kilman

01/04/2020 at 02:25PM

45
#66 - Martin Bohnenblust / @TheRealBohni

01/08/2019 at 07:12PM

45
#67 - churaki / @churaki

01/25/2019 at 09:51PM

45
#68 - Delon / @delonleonard

12/28/2019 at 11:38AM

45
#69 - Jason Neylon / @jasonneylon

01/19/2020 at 06:55PM

46
#70 - band / @band26376522

01/26/2019 at 07:43PM

46
#71 - Miko / @_m_ik_o_

10/06/2019 at 11:28AM

46
#72 - JimmyGymglish / @JGymglish

01/14/2020 at 10:19AM

47
#73 - Amit Singh / @amitds1997

01/07/2019 at 05:50PM

47
#74 - hongsii / @hongsii1

01/09/2019 at 05:02PM

47
#75 - Mangeart Yoric / @yoricm

01/14/2019 at 01:41PM

47
#76 - mkaminaga / @mkmng3

06/06/2019 at 02:42PM

48
#77 - Xxax / @Xxax

01/05/2019 at 06:33AM

48
#78 - Jose Villalta 👨‍💻 / @PhilosoGeekDad

01/05/2019 at 03:52PM

48
#79 - PJ Frazer / @pj_frazer

01/12/2019 at 02:01AM

48
#80 - tenteke / @kuskus3

01/19/2019 at 08:24AM

48
#81 - Patrick Lavin / @LavinComputes

01/30/2019 at 05:10PM

48
#82 - Duke Du / @DukeDu2

04/07/2019 at 08:40PM

48
#83 - mirsemen / @mirsemen1

07/16/2019 at 05:30AM

48
#84 - Fritz Inf / @6360info

08/18/2019 at 09:00AM

49
#85 - Parsa Amini / @ParsaAmini

03/19/2019 at 06:46PM

50
#86 - Miki Tebeka / @tebeka

01/06/2019 at 06:02AM

50
#87 - Petro Тrouq / @zulolosi

01/09/2019 at 10:51PM

50
#88 - Erik Lindeborg / @ErikLindeborg

06/07/2019 at 06:51PM

50
#89 - Ivo Blöchliger / @aigledesalpes

08/03/2019 at 08:09PM

51
#90 - Mauro Bringolf / @maurobringolf

01/08/2019 at 06:51PM