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):
17
#91 - John Doe / @JohnDoeAtLarge

08/26/2014 at 10:26PM

18
#92 - Frettchen / @DayOfFrettchen

07/07/2014 at 07:45PM

18
#93 - Gerald Tilma / @GeraldTilma

10/21/2015 at 01:49AM

18
#94 - Gurukandhamoorthi / @Gurukandhamoor1

07/23/2017 at 03:21PM

18
#95 - RockerZZY / @rocker_zzy

06/06/2020 at 04:37AM

19
#96 - Robert Siemieniec / @rsiemieniec

06/30/2014 at 09:18AM

19
#97 - Paul Rodgers / @oursjaune

07/13/2014 at 02:26PM

21
#98 - PLS / @jaegd

08/06/2014 at 05:03PM

22
#99 - RaylanFox / @RaylanFox

04/13/2020 at 03:29PM

24
#100 - MonkeyBrains ISP / @monkeybrainsnet

07/27/2014 at 05:13AM

25
#101 - Daniel / @dcmonger

07/18/2014 at 05:31AM

26
#102 - RobertT / @techrt2050

06/26/2014 at 04:29AM

27
#103 - Patrick Pitoscia / @Patrick03960431

08/03/2014 at 07:28PM

28
#104 - Jurica / @Jurica34581259

12/12/2018 at 11:50AM