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

0 comments


Created by: @udioica

104 active golfers, 346 entries

Leaderboard (lowest score wins):
15
#61 - booom / @ateukme

08/19/2014 at 10:31PM

15
#62 - AC / @quadface

08/21/2014 at 03:01PM

15
#63 - Matt / @mcr05

12/29/2014 at 10:58AM

15
#64 - TheProgrammer971 / @tp971

03/14/2015 at 03:10PM

15
#65 - Ben Vandervalk / @benvvalk

09/22/2015 at 04:31AM

15
#66 - Pete Sevander / @Sevanteri

11/13/2015 at 01:12PM

15
#67 - Jon Krause / @jkrause314

01/08/2016 at 03:10AM

15
#68 - Jan Bundesmann / @janbundesmann

03/22/2016 at 10:19AM

15
#69 - Yann / @yannstad

03/01/2017 at 01:53AM

16
#70 - James / @Dronak

06/26/2014 at 12:14AM

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

06/26/2014 at 08:54AM

16
#72 - Sntano Euhsk / @SEuhsk

06/27/2014 at 08:09AM

16
#73 - Dmitry Teslenko / @krab_mozga

06/27/2014 at 10:08AM

16
#74 - vansan / @VinceVansan

07/01/2014 at 08:40AM

16
#75 - David Hume / @djh95

07/07/2014 at 09:14AM

16
#76 - Ram Tamtam / @ramtamtamtam

07/07/2014 at 08:48PM

16
#77 - Laura Halla / @laura_halla

07/09/2014 at 12:50AM

16
#78 - b / @bprkrprkr

07/11/2014 at 03:25AM

16
#79 - Jan Wedekind / @wedesoft

07/22/2014 at 11:48AM

16
#80 - Justin Knag / @justinknag

09/07/2014 at 12:08AM

16
#81 - jptomoya / @_jptomoya

10/18/2014 at 03:11AM

16
#82 - Jake Eskel / @JakeEskel

12/31/2014 at 09:17PM

16
#83 - ltn614 / @ltn614

09/21/2015 at 07:07AM

16
#84 - aisapatino / @aisapatino

09/30/2015 at 10:14PM

17
#85 - trotha01 / @trotha01

06/27/2014 at 05:57PM

17
#86 - Joakim Karlsson / @JHKarlsson

07/07/2014 at 08:09AM

17
#87 - yamasita taisuke / @yaasita

07/11/2014 at 04:03PM

17
#88 - daveseibert / @daveseibert

08/02/2014 at 04:10AM

17
#89 - Oliver Christ / @0liverChrist

08/04/2014 at 09:19PM

17
#90 - Tj / @yrddy

08/13/2014 at 06:10AM