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):
14
#121 - Johannes Riecken / @rubystallion

01/15/2020 at 07:26PM

14
#122 - tpoeiras / @tpoeirass

08/03/2021 at 04:36PM

14
#123 - shahanavaz m / @shahanavazm

02/20/2022 at 10:35PM

16
#124 - Marco Ippolito / @maroloccio

05/09/2011 at 01:13AM

16
#125 - Vito / @GodFather

05/20/2013 at 12:01AM

16
#126 - Oliver Christ / @0liverChrist

05/22/2015 at 08:44PM

18
#127 - Joshua Moyers / @joshuamoyers

08/03/2011 at 03:37AM

18
#128 - Anton Lee / @antoshalee

08/15/2011 at 04:28PM

20
#129 - Will Gray / @graywh

05/06/2011 at 08:20PM

21
#130 - teliotoilet / @teliotoilet

10/15/2011 at 07:39AM

23
#131 - Andrés Moya / @amoyafoss

06/22/2012 at 08:13AM

42
#132 - 無ん垢の叫び / @john_ababa

02/27/2012 at 12:23PM

45
#133 - POSIX / @po6ix

01/31/2022 at 06:35PM

46
#134 - Yann Moisan / @YannMoisan

01/02/2013 at 12:58PM

52
#135 - Jason Axelson / @bostonvaulter

05/10/2011 at 09:04AM

81
#136 - roy blankman / @riblankman

07/26/2011 at 08:46AM

99
#137 - Robert Robotter / @robrob12

07/19/2011 at 09:13AM

176
#138 - abhijeet patil / @abhijeetptl5

09/04/2020 at 09:29AM