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 53ab5ade4367c700025ce66a

Shuffle puzzle

Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.

Start file
3
	4
	2
1
	3
	1
2
	5
	8
End file
1
	1
	3
2
	5
	8
3
	2
	4

View Diff

1,3d0
< 3
< 	4
< 	2
5d1
< 	3
6a3
> 	3
9a7,9
> 3
> 	2
> 	4

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 97 remaining solutions by signing in and submitting your own entry
#98 Jurica / @Jurica34581259 - Score: 28 - 12/12/18 @ 11:50
3jVjjd1GP6jVGd2kPkddkPGddPZZ

0 comments


Created by: @udioica

98 active golfers, 302 entries

Leaderboard (lowest score wins):
15
#61 - Jon Krause / @jkrause314

01/08/2016 at 03:10AM

15
#62 - Jan Bundesmann / @janbundesmann

03/22/2016 at 10:19AM

15
#63 - Yann / @yannstad

03/01/2017 at 01:53AM

16
#64 - James / @Dronak

06/26/2014 at 12:14AM

16
#65 - ドラゴン井門 / @ido_mazine

06/26/2014 at 08:54AM

16
#66 - Sntano Euhsk / @SEuhsk

06/27/2014 at 08:09AM

16
#67 - Dmitry Teslenko / @krab_mozga

06/27/2014 at 10:08AM

16
#68 - vansan / @VinceVansan

07/01/2014 at 08:40AM

16
#69 - David Hume / @djh95

07/07/2014 at 09:14AM

16
#70 - Ram Tamtam / @ramtamtamtam

07/07/2014 at 08:48PM

16
#71 - Laura Halla / @laura_halla

07/09/2014 at 12:50AM

16
#72 - b / @bprkrprkr

07/11/2014 at 03:25AM

16
#73 - Jan Wedekind / @wedesoft

07/22/2014 at 11:48AM

16
#74 - Justin Knag / @justinknag

09/07/2014 at 12:08AM

16
#75 - Sabiki94@ブルスクの人 / @_jptomoya

10/18/2014 at 03:11AM

16
#76 - Jake Eskel / @JakeEskel

12/31/2014 at 09:17PM

16
#77 - ltn614 / @ltn614

09/21/2015 at 07:07AM

16
#78 - aisapatino / @aisapatino

09/30/2015 at 10:14PM

17
#79 - trotha01 / @trotha01

06/27/2014 at 05:57PM

17
#80 - Joakim Karlsson / @JHKarlsson

07/07/2014 at 08:09AM

17
#81 - yamasita taisuke / @yaasita

07/11/2014 at 04:03PM

17
#82 - daveseibert / @daveseibert

08/02/2014 at 04:10AM

17
#83 - Oliver Christ / @0liverChrist

08/04/2014 at 09:19PM

17
#84 - Tj / @yrddy

08/13/2014 at 06:10AM

17
#85 - John Doe / @JohnDoeAtLarge

08/26/2014 at 10:26PM

18
#86 - Frettchen / @DayOfFrettchen

07/07/2014 at 07:45PM

18
#87 - Gerald Tilma / @GeraldTilma

10/21/2015 at 01:49AM

18
#88 - Gurukandhamoorthi / @Gurukandhamoor1

07/23/2017 at 03:21PM

18
#89 - RockerZZY / @rocker_zzy

06/06/2020 at 04:37AM

19
#90 - Robert Siemieniec / @rsiemieniec

06/30/2014 at 09:18AM