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 4dab05bff1161c5a78000011

Sort the cardinal numbers

Maybe a simple challenge.

Start file
Zero
One
Two
Three
Four
Five
Six
Seventeen
Sixteen
Fifteen
Fourteen
Thirteen
Twelve
Eleven
Ten
Nine
Eight
Seven
Eighteen
Nineteen
Twenty
Twenty-one
End file
Zero
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten
Eleven
Twelve
Thirteen
Fourteen
Fifteen
Sixteen
Seventeen
Eighteen
Nineteen
Twenty
Twenty-one

View Diff

8,17d7
< Seventeen
< Sixteen
< Fifteen
< Fourteen
< Thirteen
< Twelve
< Eleven
< Ten
< Nine
< Eight
18a9,18
> Eight
> Nine
> Ten
> Eleven
> Twelve
> Thirteen
> Fourteen
> Fifteen
> Sixteen
> Seventeen

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 129 remaining solutions by signing in and submitting your own entry
#130 abhijeet patil / @abhijeetptl5 - Score: 176 - 09/04/20 @ 09:29
7j<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down>dd<Down>p<Up><Up>dd<Up><Up><Up><Up><Up>p<Down><Down><Down><Down><Down><Up>dd<Up><Up><Up><Up>p<Down><Down><Down><Down><Down>dd<Up><Up><Up><Up><Up><Up>p<Down><Down><Down><Down>dd<Up><Up><Up>p<Down><Down>dd<Up><Up>p<Down><Down><Down><Down><Down>ZZ

0 comments


Created by: @h_east

130 active golfers, 234 entries

Leaderboard (lowest score wins):
14
#61 - Tomasz Zurkowski / @doriath88

04/18/2011 at 10:35AM

14
#62 - Dmitry Teslenko / @krab_mozga

04/18/2011 at 12:08PM

14
#63 - Abhishek Mukherjee / @abhishekmukherg

04/18/2011 at 05:31PM

14
#64 - Dragan Cvetinovic / @kawkafi

04/19/2011 at 08:42PM

14
#65 - Sam / @dtjohnnymonkey

04/19/2011 at 10:43PM

14
#66 - Andrey A. Ugolnik / @andreyugolnik

04/20/2011 at 10:56PM

14
#67 - Zak Johnson / @zakj

04/21/2011 at 01:57AM

14
#68 - h_east (トロッコ6個) / @h_east

04/23/2011 at 08:24AM

14
#69 - こばばー / @symmet

04/24/2011 at 12:34PM

14
#70 - Mohammed / @mbadran

05/11/2011 at 06:50AM

14
#71 - Ian McCowan / @valrus

05/29/2011 at 07:02PM

14
#72 - mightyfoo / @mightyfoo

05/30/2011 at 06:10PM

14
#73 - Jean-Rene David / @jeanrenedavid

06/11/2011 at 09:43PM

14
#74 - not so punk :] / @notsopunk

06/19/2011 at 08:32AM

14
#75 - Dan Masquelier / @danmasq

07/01/2011 at 09:58PM

14
#76 - Øystein Walle / @oysteinwalle

07/05/2011 at 04:04PM

14
#77 - Dave / @zzdave13

07/14/2011 at 10:32PM

14
#78 - Sergi Sorribas / @lerovitch

08/29/2011 at 02:24PM

14
#79 - Tim Tsu / @vimgolfpunk

09/03/2011 at 03:40PM

14
#80 - Dario Cazzaro / @darioqa

09/17/2011 at 06:12PM

14
#81 - Christopher Erin / @MCNormalMode

09/21/2011 at 08:48PM

14
#82 - Ben Sherman / @bensherman

10/18/2011 at 11:54PM

14
#83 - Matt Donahoe / @mdonahoe

10/22/2011 at 05:02AM

14
#84 - Thunderke / @Thunderke

11/02/2011 at 03:59PM

14
#85 - vimja / @vimja666

11/05/2011 at 05:52AM

14
#86 - William Dunand / @wdunand

11/07/2011 at 03:55AM

14
#87 - Matt Woelk / @MattWoelk

11/11/2011 at 11:04PM

14
#88 - Milan Dobrota / @milandobrota

11/20/2011 at 07:56AM

14
#89 - Gabriel Barta / @gbarta

12/04/2011 at 09:21AM

14
#90 - Mislav Marohnić / @mislav

12/06/2011 at 04:37PM