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

96 active golfers, 246 entries

Leaderboard (lowest score wins):
16
#61 - Mariano Macchi / @mmacchif

05/13/2015 at 06:10PM

16
#62 - Personal Life Trackr / @PersLifeTrackr

05/25/2015 at 10:00PM

16
#63 - David Stensland / @DavidStensland

06/03/2015 at 08:22AM

16
#64 - Dan Piponi / @sigfpe

07/23/2015 at 08:19PM

16
#65 - Dimitar Dimitrov / @kurkale6ka

03/18/2016 at 10:53AM

16
#66 - Cristian Lupașcu / @clupasq

03/29/2016 at 10:13AM

16
#67 - Jeremiah Goyette / @JeremiahGoyette

08/05/2016 at 12:48AM

16
#68 - Gurukandhamoorthi / @Gurukandhamoor1

07/25/2017 at 05:15PM

16
#69 - DHM / @DHM29978992

05/08/2018 at 01:18AM

16
#70 - jasonlee / @jasonle61136657

03/30/2023 at 10:55AM

16
#71 - constap / @constap

05/22/2024 at 12:49PM

17
#72 - Thomas / @moatra

04/21/2015 at 03:52AM

17
#73 - Sam Cristall / @sbcristall

04/23/2015 at 04:47PM

17
#74 - mnx / @mnxx

04/24/2015 at 01:57PM

17
#75 - Michael Cramer / @mlcramer

04/25/2015 at 03:35AM

17
#76 - vgmct / @vgmct

04/25/2015 at 05:40PM

17
#77 - Clark DuVall / @theclarkatron

06/12/2015 at 05:54PM

17
#78 - Gerald Tilma / @GeraldTilma

10/19/2015 at 11:42PM

17
#79 - Chenut Ludovic / @7Brwa7

04/08/2016 at 08:25AM

17
#80 - jakeroberts / @jakeroberts

05/28/2017 at 03:33PM

17
#81 - mevmev / @mevmev8

10/08/2021 at 12:50PM

17
#82 - Olivier Bégassat / @zk_evm

06/15/2023 at 07:57AM

18
#83 - Barnyard Owl / @Barnyard_Owl

04/21/2015 at 01:28AM

18
#84 - Anoop Kumar / @anooplive

04/21/2015 at 04:16AM

18
#85 - Johannes Hansen / @JohannesEH

04/21/2015 at 06:27AM

18
#86 - Jack murphy / @Jerkmurphy

04/21/2015 at 03:50PM

18
#87 - Joop joopsen / @RapidLoL

04/21/2015 at 07:01PM

18
#88 - Hendrik Lammers / @hendriklammers

04/24/2015 at 06:21PM

18
#89 - Tabby / @Tabbie__

05/02/2015 at 07:16AM

18
#90 - Marty Boren / @beanmaximalist

05/30/2015 at 08:46PM