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 71 remaining solutions by signing in and submitting your own entry
#72 aisapatino / aisapatino - Score: 16 - 09/30/15 @ 22:14
d2jGpjddp2GddpZZ

0 comments

#73 trotha01 / trotha01 - Score: 17 - 06/27/14 @ 17:57
3ddGpjddp:2<CR>ddpZZ

0 comments

#74 Joakim Karlsson / JHKarlsson - Score: 17 - 07/07/14 @ 08:09
3ddGp:9m7<CR>:3m1<CR>ZZ

0 comments

#75 yamasita taisuke / yaasita - Score: 17 - 07/11/14 @ 16:03
3ddGpjddp:2<CR>ddpZZ

0 comments

#76 daveseibert / daveseibert - Score: 17 - 08/02/14 @ 04:10
jddpVggdGp2GddpZZ

0 comments

#77 Oliver Christ / 0liverChrist - Score: 17 - 08/04/14 @ 21:19
Vjj:m9<CR>ddP2GddpZZ

0 comments

#78 Tj / yrddy - Score: 17 - 08/13/14 @ 06:10
3ddGp:9m7<CR>:3m1<CR>ZZ

0 comments

#79 John Doe / JohnDoeAtLarge - Score: 17 - 08/26/14 @ 22:26
3ddGp:9m7<CR>:3m1<CR>ZZ

0 comments

#80 Frettchen / DayOfFrettchen - Score: 18 - 07/07/14 @ 19:45
3ddGp2Gddpg8GddPZZ

0 comments

#81 Gerald Tilma / GeraldTilma - Score: 18 - 10/21/15 @ 01:49
d3dGpjqqddpq2G@qZZ

0 comments

#82 Gurukandhamoorthi / Gurukandhamoor1 - Score: 18 - 07/23/17 @ 15:21
qqjddp<CR>q@qH3ddGpZZ

0 comments

#83 Robert Siemieniec / rsiemieniec - Score: 19 - 06/30/14 @ 09:18
jddp2jddp2kVGd1GPZZ

0 comments

#84 Paul Rodgers / oursjaune - Score: 19 - 07/13/14 @ 14:26
3ddGp2ggddp:8<CR>ddpZZ

0 comments

#85 PLS / jaegd - Score: 21 - 08/06/14 @ 17:03
3DGpjVj:sort<CR>2GVj@:ZZ

0 comments

#86 MonkeyBrains ISP / monkeybrainsnet - Score: 24 - 07/27/14 @ 05:13
:sor n<CR><Down><Down><C-A><Down><Down>d3d}p/3<CR>r2ZZ

0 comments

#87 Daniel / dcmonger - Score: 25 - 07/18/14 @ 05:31
jjddkPjjjjddkPkkV{d}p:wq<CR>

0 comments

#88 RobertT / techrt2050 - Score: 26 - 06/26/14 @ 04:29
3ddLp2Hqq:.,+1sor<CR>3jq2@qZZ

0 comments

#89 Patrick Pitoscia / Patrick03960431 - Score: 27 - 08/03/14 @ 19:28
r1w.wr3wr2wr5wr8wr3wr2wr4ZZ

0 comments

Created by: udioica

89 active golfers, 270 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

14
#16 - John Meisner / jmeisned

06/26/2014 at 02:06AM

14
#17 - Kerson Hsiao / KersonHsiao

06/26/2014 at 11:56AM

14
#18 - YAMADA Yukimi / edp02

06/26/2014 at 12:06PM

14
#19 - Kai Yuan / kentyuan

06/26/2014 at 02:19PM

14
#20 - Mandy Choi / mundi_c

06/27/2014 at 10:03PM

14
#21 - Stephen / StephenPek

06/29/2014 at 05:15AM

14
#22 - Zapata / Incredible_JFP

07/02/2014 at 07:53AM

14
#23 - Marcin Cabaj / marcincabaj

07/02/2014 at 10:18PM

14
#24 - kwa / kwa129

07/04/2014 at 03:06PM

14
#25 - James Scriven / JamesDScriven

07/05/2014 at 11:12PM

14
#26 - João Carvalho / joaoCarvas

07/17/2014 at 11:13PM

14
#27 - Joakim Hansen / gnofs

07/31/2014 at 10:05PM

14
#28 - madka / lachrimae_pavan

08/03/2014 at 06:29PM

14
#29 - Fan Zhang / 2bDeactivat3d

08/18/2014 at 02:34AM

14
#30 - Dario Avitabile / tutticapaci

09/06/2014 at 04:17PM

14
#31 - eBrnd / eBrnd

11/02/2014 at 04:51PM

14
#32 - Matt Robbins / mcrmfc

11/05/2014 at 01:53PM

14
#33 - mark0829 / mark0829

02/03/2015 at 12:11PM

14
#34 - xieyh11 / xieyh11

02/28/2015 at 09:31AM

14
#35 - pftb12345 / pftb12345

04/10/2015 at 08:35AM

14
#36 - Robert Goeddel / f0rdpr3fect

11/10/2015 at 11:47PM

14
#37 - Dimitar Dimitrov / kurkale6ka

03/21/2016 at 02:54PM

14
#38 - some call me mattp / mattpep

05/18/2016 at 12:35AM

14
#39 - Bill Ruddock / biinari

10/25/2016 at 03:40PM

15
#40 - Tim Chase / gumnos

06/26/2014 at 02:49AM

15
#41 - w1zeman1p / wizemanip

06/26/2014 at 04:06AM

15
#42 - Carlos López / morrizon

06/26/2014 at 12:48PM

15
#43 - Steve Engledow / stilvoid

06/26/2014 at 04:36PM

15
#44 - TapTemplate / TapTemplate

06/26/2014 at 04:50PM

15
#45 - Nic West / west_nic

06/27/2014 at 06:08PM

15
#46 - Tim Vim / vim_tim

07/01/2014 at 08:46AM

15
#47 - Vito / GodFather

07/04/2014 at 06:00AM

15
#48 - Bambu / bambumandinga

07/08/2014 at 01:03AM

15
#49 - booom / ateukme

08/19/2014 at 10:31PM

15
#50 - AC / quadface

08/21/2014 at 03:01PM

15
#51 - Matthieu Crapet / mcr05

12/29/2014 at 10:58AM

15
#52 - TheProgrammer971 / tp971

03/14/2015 at 03:10PM

15
#53 - Ben Vandervalk / benvvalk

09/22/2015 at 04:31AM

15
#54 - Pete Sevander / Sevanteri

11/13/2015 at 01:12PM

15
#55 - Jon Krause / jkrause314

01/08/2016 at 03:10AM

15
#56 - Jan Bundesmann / ixjab

03/22/2016 at 10:19AM

15
#57 - Yann / yannstadnicki

03/01/2017 at 01:53AM

16
#58 - James / Dronak

06/26/2014 at 12:14AM

16
#59 - ドラゴン井門 / ido_mazine

06/26/2014 at 08:54AM

16
#60 - Sntano Euhsk / SEuhsk

06/27/2014 at 08:09AM

16
#61 - Dmitry Teslenko / krab_mozga

06/27/2014 at 10:08AM

16
#62 - vansan / VinceVansan

07/01/2014 at 08:40AM

16
#63 - David Hume / djh95

07/07/2014 at 09:14AM

16
#64 - Ram Tamtam / ramtamtamtam

07/07/2014 at 08:48PM

16
#65 - Laura Halla / laura_halla

07/09/2014 at 12:50AM

16
#66 - b / bprkrprkr

07/11/2014 at 03:25AM

16
#67 - Jan Wedekind / wedesoft

07/22/2014 at 11:48AM

16
#68 - Justin Knag / justinknag

09/07/2014 at 12:08AM

16
#69 - Sabiki94@ブルスクの人 / _jptomoya

10/18/2014 at 03:11AM

16
#70 - Jake Eskel / JakeEskel

12/31/2014 at 09:17PM

16
#71 - ltn614 / ltn614

09/21/2015 at 07:07AM

16
#72 - aisapatino / aisapatino

09/30/2015 at 10:14PM

17
#73 - trotha01 / trotha01

06/27/2014 at 05:57PM

17
#74 - Joakim Karlsson / JHKarlsson

07/07/2014 at 08:09AM

17
#75 - yamasita taisuke / yaasita

07/11/2014 at 04:03PM

17
#76 - daveseibert / daveseibert

08/02/2014 at 04:10AM

17
#77 - Oliver Christ / 0liverChrist

08/04/2014 at 09:19PM

17
#78 - Tj / yrddy

08/13/2014 at 06:10AM

17
#79 - John Doe / JohnDoeAtLarge

08/26/2014 at 10:26PM

18
#80 - Frettchen / DayOfFrettchen

07/07/2014 at 07:45PM

18
#81 - Gerald Tilma / GeraldTilma

10/21/2015 at 01:49AM

18
#82 - Gurukandhamoorthi / Gurukandhamoor1

07/23/2017 at 03:21PM

19
#83 - Robert Siemieniec / rsiemieniec

06/30/2014 at 09:18AM

19
#84 - Paul Rodgers / oursjaune

07/13/2014 at 02:26PM

21
#85 - PLS / jaegd

08/06/2014 at 05:03PM

24
#86 - MonkeyBrains ISP / monkeybrainsnet

07/27/2014 at 05:13AM

25
#87 - Daniel / dcmonger

07/18/2014 at 05:31AM

26
#88 - RobertT / techrt2050

06/26/2014 at 04:29AM

27
#89 - Patrick Pitoscia / Patrick03960431

08/03/2014 at 07:28PM