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

149 active golfers, 315 entries

Leaderboard (lowest score wins):
12
#31 - Joseph J. Piché / @jjpiche

08/26/2012 at 01:18AM

12
#32 - Trevor Powell / @DoomedBunnies

03/20/2013 at 01:55AM

12
#33 - Gtranbot / @gtranbot

04/27/2013 at 10:48AM

12
#34 - Marco Hinz / @_mhinz_

05/23/2013 at 04:56PM

12
#35 - Petro Тrouq / @zulolosi

07/03/2013 at 06:47PM

12
#36 - Steve Tjoa / @stevetjoa

08/09/2013 at 11:21PM

12
#37 - Xelrifos / @Xelrifos

02/20/2014 at 07:50PM

12
#38 - John Braxler / @braxler

07/31/2014 at 08:26PM

12
#39 - David Nguyen / @nguydavi

06/06/2015 at 12:59PM

12
#40 - Raj / @brshenoy

07/01/2015 at 04:39PM

12
#41 - Evan Coleman / @edc1591

07/01/2015 at 04:44PM

12
#42 - Jim Bob / @babyclubber

02/28/2017 at 04:22PM

12
#43 - Evgeny`s Kindle / @EvgenyKindle

04/28/2018 at 06:24AM

12
#44 - editor3D / @editor3D

11/13/2018 at 04:00PM

12
#45 - Turkey Man / @lvturkeyman

12/03/2018 at 08:02AM

12
#46 - Bart Kleijngeld / @BartKleijngeld

12/24/2018 at 10:45PM

12
#47 - Himavanth Reddy / @Himavanth1909

08/12/2019 at 09:30AM

12
#48 - Bob Streams / @BobStreams1

06/03/2020 at 07:47AM

12
#49 - RockerZZY / @rocker_zzy

08/18/2020 at 05:24AM

12
#50 - Jon Krause / @jkrause314

12/19/2020 at 06:40PM

12
#51 - Pranshu Goyal / @PranshuGoyal

02/02/2021 at 09:20PM

12
#52 - Scott Atkins / @scottrick49

07/20/2021 at 01:58PM

12
#53 - Salvador Tojo Quintela / @SalvadorTojo

10/09/2021 at 06:26AM

12
#54 - russellzhaomao / @russellzhaomao

06/02/2022 at 11:21AM

12
#55 - WbrL17 / @WbrL17

06/30/2022 at 02:00PM

12
#56 - Janzen / @__Coos

09/22/2022 at 01:56PM

12
#57 - Jean George / @JeanGeo20504212

11/01/2023 at 10:12PM

12
#58 - Berel94 / @Berel94

03/09/2024 at 05:29PM

12
#59 - Peppa Pig / @PeppaPigSg

06/29/2024 at 07:41AM

12
#60 - nickGPT / @nickandbro

08/28/2024 at 10:49PM