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):
15
#31 - Kerson Hsiao / @KersonHsiao

06/24/2016 at 06:46AM

15
#32 - Daniel / @Daniel00288663

04/03/2017 at 12:33PM

15
#33 - Turkey Man / @lvturkeyman

11/26/2017 at 12:01PM

15
#34 - Mihai / @mihaicristiant

03/22/2019 at 12:51PM

15
#35 - RockerZZY / @rocker_zzy

07/09/2020 at 07:17AM

15
#36 - Jean George / @JeanGeo20504212

05/16/2022 at 11:08AM

15
#37 - russellzhaomao / @russellzhaomao

06/19/2022 at 02:19AM

16
#38 - Tournami / @Tournami

04/21/2015 at 04:37AM

16
#39 - Matt / @mcr05

04/21/2015 at 05:38AM

16
#40 - Roman Zolotarev / @romanzolotarev

04/21/2015 at 07:36AM

16
#41 - Daniel Byron / @dansolo17

04/21/2015 at 01:57PM

16
#42 - Grisha Pushkov / @readoonly

04/21/2015 at 03:38PM

16
#43 - gv / @paccogv

04/21/2015 at 07:04PM

16
#44 - Gracjan Grala / @gracjangrala

04/21/2015 at 10:54PM

16
#45 - Oleg Parashchenko / @olparko

04/22/2015 at 08:25AM

16
#46 - i5513 / @i5513

04/22/2015 at 08:34AM

16
#47 - Arbaaz / @arbz_

04/22/2015 at 12:24PM

16
#48 - I / @ForgetIt17

04/23/2015 at 08:40PM

16
#49 - Elizabeth / @sprinkles418

04/24/2015 at 02:05PM

16
#50 - Andreas Carben / @meiner_eins

04/25/2015 at 08:06AM

16
#51 - Kevin Yokley / @kyokley19

04/25/2015 at 06:46PM

16
#52 - Antony Scriven / @antonyscriven

04/27/2015 at 07:00AM

16
#53 - Olivier Debon / @OlivierSwift

04/30/2015 at 03:15PM

16
#54 - e / @MPeaKelE

05/02/2015 at 09:16AM

16
#55 - Spy / @thatspysaspy

05/11/2015 at 09:54PM

16
#56 - Mariano Macchi / @mmacchif

05/13/2015 at 06:10PM

16
#57 - Personal Life Trackr / @PersLifeTrackr

05/25/2015 at 10:00PM

16
#58 - David Stensland / @DavidStensland

06/03/2015 at 08:22AM

16
#59 - Dan Piponi / @sigfpe

07/23/2015 at 08:19PM

16
#60 - Dimitar Dimitrov / @kurkale6ka

03/18/2016 at 10:53AM