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):
45
#91 - Delon / @delonleonard

12/28/2019 at 11:38AM

45
#92 - Jason Neylon / @jasonneylon

01/19/2020 at 06:55PM

45
#93 - Bob Streams / @BobStreams1

06/02/2020 at 09:16AM

45
#94 - Michael V. / @mvivirito

07/09/2020 at 07:10PM

46
#95 - band / @band26376522

01/26/2019 at 07:43PM

46
#96 - Miko / @_m_ik_o_

10/06/2019 at 11:28AM

46
#97 - JimmyGymglish / @JGymglish

01/14/2020 at 10:19AM

46
#98 - Kaustubh Murumkar / @k_austub_h

09/25/2020 at 11:27PM

47
#99 - Amit Singh / @amitds1997

01/07/2019 at 05:50PM

47
#100 - hongsii / @hongsii1

01/09/2019 at 05:02PM

47
#101 - Mangeart Yoric / @yoricm

01/14/2019 at 01:41PM

47
#102 - mkaminaga / @mkmng3

06/06/2019 at 02:42PM

47
#103 - Toby Hawkins / @Toby_Hawkins

03/15/2020 at 04:09AM

47
#104 - Ed Leafe / @EdLeafe

06/23/2020 at 06:32PM

48
#105 - Xxax / @Xxax

01/05/2019 at 06:33AM

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

01/05/2019 at 03:52PM

48
#107 - PJ Frazer / @pj_frazer

01/12/2019 at 02:01AM

48
#108 - tenteke / @kuskus3

01/19/2019 at 08:24AM

48
#109 - Patrick Lavin / @LavinComputes

01/30/2019 at 05:10PM

48
#110 - Duke Du / @DukeDu2

04/07/2019 at 08:40PM

48
#111 - mirsemen / @mirsemen1

07/16/2019 at 05:30AM

48
#112 - Fritz Inf / @6360info

08/18/2019 at 09:00AM

48
#113 - せいほう / @FICSQF

06/26/2020 at 12:47PM

48
#114 - Ming Dai / @MingDai2

06/30/2020 at 04:47PM

49
#115 - Parsa Amini / @ParsaAmini

03/19/2019 at 06:46PM

49
#116 - Jason / @roosjason

04/26/2020 at 07:38AM

50
#117 - Miki Tebeka / @tebeka

01/06/2019 at 06:02AM

50
#118 - Petro Тrouq / @zulolosi

01/09/2019 at 10:51PM

50
#119 - Erik Lindeborg / @ErikLindeborg

06/07/2019 at 06:51PM

50
#120 - Ivo Blöchliger / @aigledesalpes

08/03/2019 at 08:09PM