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

138 active golfers, 268 entries

Leaderboard (lowest score wins):
13
#61 - int@紅ぽよ / @int_cl

10/07/2020 at 06:15AM

13
#62 - blabla zincou / @BZincou

03/22/2022 at 06:27PM

14
#63 - xhtmlforum / @xhtmlforum

04/17/2011 at 05:34PM

14
#64 - Pete Johns / @johnsyweb

04/17/2011 at 10:11PM

14
#65 - Malaney / @iamjh

04/18/2011 at 05:15AM

14
#66 - Tomasz Zurkowski / @doriath88

04/18/2011 at 10:35AM

14
#67 - Dmitry Teslenko / @krab_mozga

04/18/2011 at 12:08PM

14
#68 - Abhishek Mukherjee / @abhishekmukherg

04/18/2011 at 05:31PM

14
#69 - Dragan Cvetinovic / @kawkafi

04/19/2011 at 08:42PM

14
#70 - Sam / @dtjohnnymonkey

04/19/2011 at 10:43PM

14
#71 - Andrey A. Ugolnik / @andreyugolnik

04/20/2011 at 10:56PM

14
#72 - Zak Johnson / @zakj

04/21/2011 at 01:57AM

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

04/23/2011 at 08:24AM

14
#74 - こばばー / @symmet

04/24/2011 at 12:34PM

14
#75 - Mohammed / @mbadran

05/11/2011 at 06:50AM

14
#76 - Ian McCowan / @valrus

05/29/2011 at 07:02PM

14
#77 - mightyfoo / @mightyfoo

05/30/2011 at 06:10PM

14
#78 - Jean-Rene David / @jeanrenedavid

06/11/2011 at 09:43PM

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

06/19/2011 at 08:32AM

14
#80 - Dan Masquelier / @danmasq

07/01/2011 at 09:58PM

14
#81 - Øystein Walle / @oysteinwalle

07/05/2011 at 04:04PM

14
#82 - Dave / @zzdave13

07/14/2011 at 10:32PM

14
#83 - Sergi Sorribas / @lerovitch

08/29/2011 at 02:24PM

14
#84 - Tim Tsu / @vimgolfpunk

09/03/2011 at 03:40PM

14
#85 - Dario Cazzaro / @darioqa

09/17/2011 at 06:12PM

14
#86 - Christopher Erin / @MCNormalMode

09/21/2011 at 08:48PM

14
#87 - Ben Sherman / @bensherman

10/18/2011 at 11:54PM

14
#88 - Matt Donahoe / @mdonahoe

10/22/2011 at 05:02AM

14
#89 - Thunderke / @Thunderke

11/02/2011 at 03:59PM

14
#90 - vimja / @vimja666

11/05/2011 at 05:52AM