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):
14
#31 - Zapata / @Incredible_JFP

07/02/2014 at 07:53AM

14
#32 - Marcin Cabaj / @marcincabaj

07/02/2014 at 10:18PM

14
#33 - kwa / @kwa129

07/04/2014 at 03:06PM

14
#34 - James Scriven / @JamesDScriven

07/05/2014 at 11:12PM

14
#35 - João Carvalho / @joaoCarvas

07/17/2014 at 11:13PM

14
#36 - Joakim Hansen / @gnofs

07/31/2014 at 10:05PM

14
#37 - madka / @lachrimae_pavan

08/03/2014 at 06:29PM

14
#38 - Fan Zhang / @2bDeactivat3d

08/18/2014 at 02:34AM

14
#39 - Dario Avitabile / @tutticapaci

09/06/2014 at 04:17PM

14
#40 - eBrnd / @eBrnd

11/02/2014 at 04:51PM

14
#41 - Matt Robbins / @mcrmfc

11/05/2014 at 01:53PM

14
#42 - mark0829 / @mark0829

02/03/2015 at 12:11PM

14
#43 - xieyh11 / @xieyh11

02/28/2015 at 09:31AM

14
#44 - pftb12345 / @pftb12345

04/10/2015 at 08:35AM

14
#45 - Robert Goeddel / @f0rdpr3fect

11/10/2015 at 11:47PM

14
#46 - Dimitar Dimitrov / @kurkale6ka

03/21/2016 at 02:54PM

14
#47 - mattp (part of the 💉💉💉 club) / @mattpep

05/18/2016 at 12:35AM

14
#48 - Bill Ruddock / @biinari

10/25/2016 at 03:40PM

14
#49 - DHM / @DHM29978992

05/01/2018 at 02:16AM

14
#50 - Lory / @Lory46845742

12/17/2019 at 01:11PM

14
#51 - Jean George / @JeanGeo20504212

04/17/2022 at 08:10AM

15
#52 - Tim Chase / @gumnos

06/26/2014 at 02:49AM

15
#53 - CJ Avilla / @cjav_dev

06/26/2014 at 04:06AM

15
#54 - Carlos López / @morrizon

06/26/2014 at 12:48PM

15
#55 - Steve Engledow / @stilvoid

06/26/2014 at 04:36PM

15
#56 - TapTemplate / @TapTemplate

06/26/2014 at 04:50PM

15
#57 - Nic West / @west_nic

06/27/2014 at 06:08PM

15
#58 - Tim Vim / @vim_tim

07/01/2014 at 08:46AM

15
#59 - Vito / @GodFather

07/04/2014 at 06:00AM

15
#60 - Bambu / @bambumandinga

07/08/2014 at 01:03AM