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 91 remaining solutions by signing in and submitting your own entry
#92 Patrick Pitoscia / @Patrick03960431 - Score: 27 - 08/03/14 @ 19:28
r1w.wr3wr2wr5wr8wr3wr2wr4ZZ

0 comments


Created by: @udioica

92 active golfers, 284 entries

Leaderboard (lowest score wins):
13
#1 - Adit Cahya Ramadhan / @aditcr8

06/26/2014 at 01:26AM

13
#2 - Urtica dioica / @udioica

06/26/2014 at 02:42AM

13
#3 - John Braxler / @braxler

06/27/2014 at 04:30PM

13
#4 - Petro Тrouq / @zulolosi

06/27/2014 at 07:21PM

13
#5 - Deniz Oktay / @cloud_boy

06/27/2014 at 11:15PM

13
#6 - alex scott / @4l3xsc0tt

06/30/2014 at 03:28PM

13
#7 - Yann Moisan / @YannMoisan

07/01/2014 at 08:14AM

13
#8 - Pavlo Klets / @p01nt

07/01/2014 at 10:24AM

13
#9 - Nico Lehmann / @nilehmann

07/06/2014 at 01:49AM

13
#10 - Lasse Dalegaard / @ldalegaard

07/06/2014 at 09:13PM

13
#11 - Bart / @oneofmanybarts

07/08/2014 at 01:50PM

13
#12 - Chad Ostler / @ostlerc

07/08/2014 at 11:05PM

13
#13 - Alexey Fedorov / @waterlink000

07/09/2014 at 04:23PM

13
#14 - Yoonho Lee / @ID_einet89

07/23/2014 at 10:25AM

13
#15 - Walker Boh / @walker_boh

10/12/2015 at 12:43PM

13
#16 - Turkey Man / @lvturkeyman

11/26/2017 at 09:30AM

13
#17 - BarbaJol / @drpproteus

01/10/2018 at 04:44PM

14
#18 - John Meisner / @jmeisned

06/26/2014 at 02:06AM

14
#19 - Kerson Hsiao / @KersonHsiao

06/26/2014 at 11:56AM

14
#20 - YAMADA Yukimi / @edp02

06/26/2014 at 12:06PM

14
#21 - Kai Yuan / @kentyuan

06/26/2014 at 02:19PM

14
#22 - Mandy Choi / @mundi_c

06/27/2014 at 10:03PM

14
#23 - Stephen / @StephenPek

06/29/2014 at 05:15AM

14
#24 - Zapata / @Incredible_JFP

07/02/2014 at 07:53AM

14
#25 - Marcin Cabaj / @marcincabaj

07/02/2014 at 10:18PM

14
#26 - kwa / @kwa129

07/04/2014 at 03:06PM

14
#27 - James Scriven / @JamesDScriven

07/05/2014 at 11:12PM

14
#28 - João Carvalho / @joaoCarvas

07/17/2014 at 11:13PM

14
#29 - Joakim Hansen / @gnofs

07/31/2014 at 10:05PM

14
#30 - madka / @lachrimae_pavan

08/03/2014 at 06:29PM