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 55358965015b7c2d46000001

Shuffled numbers

Each number is paired with the number it should follow. That's enough information to put them in order.

Start file
nine: eight
twelve: eleven
seventeen: sixteen
nineteen: eighteen
two: one
twenty: nineteen
five: four
eighteen: seventeen
one: -
sixteen: fifteen
thirteen: twelve
three: two
eight: seven
ten: nine
six: five
fourteen: thirteen
fifteen: fourteen
four: three
seven: six
eleven: ten
End file
one: -
two: one
three: two
four: three
five: four
six: five
seven: six
eight: seven
nine: eight
ten: nine
eleven: ten
twelve: eleven
thirteen: twelve
fourteen: thirteen
fifteen: fourteen
sixteen: fifteen
seventeen: sixteen
eighteen: seventeen
nineteen: eighteen
twenty: nineteen

View Diff

1,8d0
< nine: eight
< twelve: eleven
< seventeen: sixteen
< nineteen: eighteen
< two: one
< twenty: nineteen
< five: four
< eighteen: seventeen
10,11c2
< sixteen: fifteen
< thirteen: twelve
---
> two: one
12a4,7
> four: three
> five: four
> six: five
> seven: six
13a9
> nine: eight
15c11,13
< six: five
---
> eleven: ten
> twelve: eleven
> thirteen: twelve
18,20c16,20
< four: three
< seven: six
< eleven: ten
---
> sixteen: fifteen
> seventeen: sixteen
> eighteen: seventeen
> nineteen: eighteen
> twenty: nineteen

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 82 remaining solutions by signing in and submitting your own entry
#83 Jean Carlo Machado / @JeanCarloMachad - Score: 184 - 04/22/15 @ 19:02
9Gddggpkddpjjjjddggp;t<Esc>;/tree<CR>jjjjjjjjjjdd2Gp18Gdd3Gp10Gdd4GjpkddpGkdd5Gp15Gdd6Gp16Gdd8GpGdd9Gp17Gdd11GpjjjjjjjddkkkkkkkpGkdd5GpGkddpkkkddGpkkddukkkkddkpjddjjjpkkkddGkpkkkkddGkp;/<Esc><Esc>jZZ

0 comments


Created by: @udioica

83 active golfers, 195 entries

Leaderboard (lowest score wins):
15
#1 - Kai Yuan / @kentyuan

04/21/2015 at 09:38AM

15
#2 - pftb12345 / @pftb12345

04/21/2015 at 10:55AM

15
#3 - John Braxler / @braxler

04/21/2015 at 12:04PM

15
#4 - no hodls barred / @AssafLavie

04/21/2015 at 03:03PM

15
#5 - Raj / @brshenoy

04/21/2015 at 03:51PM

15
#6 - Tim Chase / @gumnos

04/21/2015 at 04:20PM

15
#7 - Urtica dioica / @udioica

04/21/2015 at 04:23PM

15
#8 - Evan Coleman / @edc1591

04/21/2015 at 06:19PM

15
#9 - matthieu le grix / @mlegrix

04/21/2015 at 07:56PM

15
#10 - Louis Caruana / @louiecaruana

04/22/2015 at 01:22AM

15
#11 - Slartibartfast / @S_Bartfast

04/22/2015 at 08:51AM

15
#12 - horace / @hor1ace

04/22/2015 at 11:39AM

15
#13 - Fan Zhang / @2bDeactivat3d

04/22/2015 at 10:06PM

15
#14 - Petro Тrouq / @zulolosi

04/23/2015 at 06:12PM

15
#15 - E Both / @enboth

04/23/2015 at 09:37PM

15
#16 - Ala' Ibrahim / @alaa_ibrahim

04/25/2015 at 07:53AM

15
#17 - Johannes Elferich / @jojoelfe

04/26/2015 at 09:10PM

15
#18 - Rui Mendes / @rcm_dium

05/02/2015 at 07:45PM

15
#19 - DrHobo / @_DrHobo_

05/10/2015 at 11:00PM

15
#20 - Victor Haffreingue / @nobe_4

05/13/2015 at 07:43PM

15
#21 - danweaver / @danweaver

05/14/2015 at 05:49AM

15
#22 - Lifepillar / @lifepillar

06/23/2015 at 07:46PM

15
#23 - Mutter Mumble / @muttermumble

07/10/2015 at 12:39PM

15
#24 - Louis Burke / @LambdaABeta

07/10/2015 at 01:17PM

15
#25 - Teemu Okkonen / @TeemuOkkonen

07/12/2015 at 09:24PM

15
#26 - Ferdev vimgolf / @fergvimgolf

08/13/2015 at 09:42PM

15
#27 - Liam Thurston / @lthurston188

08/17/2015 at 05:33AM

15
#28 - Mike Adams / @davis_cromwell

10/06/2015 at 12:57AM

15
#29 - Walker Boh / @walker_boh

10/09/2015 at 09:39AM

15
#30 - Aleksey Zhidkov / @AlexeyZhidkov

05/31/2016 at 06:08AM