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

0 comments


Created by: @udioica

94 active golfers, 289 entries

Leaderboard (lowest score wins):
14
#31 - madka / @lachrimae_pavan

08/03/2014 at 06:29PM

14
#32 - Fan Zhang / @2bDeactivat3d

08/18/2014 at 02:34AM

14
#33 - Dario Avitabile / @tutticapaci

09/06/2014 at 04:17PM

14
#34 - eBrnd / @eBrnd

11/02/2014 at 04:51PM

14
#35 - Matt Robbins / @mcrmfc

11/05/2014 at 01:53PM

14
#36 - mark0829 / @mark0829

02/03/2015 at 12:11PM

14
#37 - xieyh11 / @xieyh11

02/28/2015 at 09:31AM

14
#38 - pftb12345 / @pftb12345

04/10/2015 at 08:35AM

14
#39 - Robert Goeddel / @f0rdpr3fect

11/10/2015 at 11:47PM

14
#40 - Dimitar Dimitrov / @kurkale6ka

03/21/2016 at 02:54PM

14
#41 - some call me mattp / @mattpep

05/18/2016 at 12:35AM

14
#42 - Bill Ruddock / @biinari

10/25/2016 at 03:40PM

14
#43 - DHM / @DHM29978992

05/01/2018 at 02:16AM

15
#44 - Tim Chase / @gumnos

06/26/2014 at 02:49AM

15
#45 - w1zeman1p / @wizemanip

06/26/2014 at 04:06AM

15
#46 - Carlos López / @morrizon

06/26/2014 at 12:48PM

15
#47 - Steve Engledow / @stilvoid

06/26/2014 at 04:36PM

15
#48 - TapTemplate / @TapTemplate

06/26/2014 at 04:50PM

15
#49 - Nic West / @west_nic

06/27/2014 at 06:08PM

15
#50 - Tim Vim / @vim_tim

07/01/2014 at 08:46AM

15
#51 - Vito / @GodFather

07/04/2014 at 06:00AM

15
#52 - Bambu / @bambumandinga

07/08/2014 at 01:03AM

15
#53 - booom / @ateukme

08/19/2014 at 10:31PM

15
#54 - AC / @quadface

08/21/2014 at 03:01PM

15
#55 - Matt / @mcr05

12/29/2014 at 10:58AM

15
#56 - TheProgrammer971 / @tp971

03/14/2015 at 03:10PM

15
#57 - Ben Vandervalk / @benvvalk

09/22/2015 at 04:31AM

15
#58 - Pete Sevander / @Sevanteri

11/13/2015 at 01:12PM

15
#59 - Jon Krause / @jkrause314

01/08/2016 at 03:10AM

15
#60 - Jan Bundesmann / @janbundesmann

03/22/2016 at 10:19AM