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 87 remaining solutions by signing in and submitting your own entry
#88 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

88 active golfers, 212 entries

Leaderboard (lowest score wins):
16
#61 - Cristian Lupașcu / @clupasq

03/29/2016 at 10:13AM

16
#62 - Jeremiah Goyette / @JeremiahGoyette

08/05/2016 at 12:48AM

16
#63 - Gurukandhamoorthi / @Gurukandhamoor1

07/25/2017 at 05:15PM

16
#64 - DHM / @DHM29978992

05/08/2018 at 01:18AM

17
#65 - Thomas / @moatra

04/21/2015 at 03:52AM

17
#66 - Sam Cristall / @sbcristall

04/23/2015 at 04:47PM

17
#67 - mnx / @mnxx

04/24/2015 at 01:57PM

17
#68 - Michael Cramer / @mlcramer

04/25/2015 at 03:35AM

17
#69 - vgmct / @vgmct

04/25/2015 at 05:40PM

17
#70 - Clark DuVall / @theclarkatron

06/12/2015 at 05:54PM

17
#71 - Gerald Tilma / @GeraldTilma

10/19/2015 at 11:42PM

17
#72 - Chenut Ludovic / @7Brwa7

04/08/2016 at 08:25AM

17
#73 - jakeroberts / @jakeroberts

05/28/2017 at 03:33PM

17
#74 - mevmev / @mevmev8

10/08/2021 at 12:50PM

18
#75 - Barnyard Owl / @Barnyard_Owl

04/21/2015 at 01:28AM

18
#76 - Anoop Kumar / @anooplive

04/21/2015 at 04:16AM

18
#77 - Johannes Hansen / @JohannesEH

04/21/2015 at 06:27AM

18
#78 - Jack murphy / @Jerkmurphy

04/21/2015 at 03:50PM

18
#79 - Joop joopsen / @RapidLoL

04/21/2015 at 07:01PM

18
#80 - Hendrik Lammers / @hendriklammers

04/24/2015 at 06:21PM

18
#81 - Tabby / @Tabbie__

05/02/2015 at 07:16AM

18
#82 - Marty Boren / @beanmaximalist

05/30/2015 at 08:46PM

19
#83 - Brian Olpin / @bolpin

04/28/2015 at 11:26PM

21
#84 - William Ott / @oddalot

04/23/2015 at 08:58PM

21
#85 - Aurélien Deharbe / @0x_ad

06/01/2015 at 12:42PM

27
#86 - Ben Vandervalk / @benvvalk

09/20/2015 at 07:08AM

73
#87 - RobertAKARobin / @RobertAKARobin

04/21/2015 at 12:56AM

184
#88 - Jean Carlo Machado / @JeanCarloMachad

04/22/2015 at 07:02PM