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 9v0067401f2500000000061b

Change to ascending order

Change each line of numbers consistently from descending to ascending order.

Start file
10,9,8,7,6,5,4,3,2,1
Ten,Nine,Eight,Seven,Six,Five,Four,Three,Two,One
Tenth,Ninth,Eighth,Seventh,Sixth,Fifth,Fourth,Third,Second,First
X,IX,VIII,VII,VI,V,IV,III,II,I
End file
1,2,3,4,5,6,7,8,9,10
One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten
First,Second,Third,Fourth,Fifth,Sixth,Seventh,Eighth,Ninth,Tenth
I,II,III,IV,V,VI,VII,VIII,IX,X

View Diff

1,4c1,4
< 10,9,8,7,6,5,4,3,2,1
< Ten,Nine,Eight,Seven,Six,Five,Four,Three,Two,One
< Tenth,Ninth,Eighth,Seventh,Sixth,Fifth,Fourth,Third,Second,First
< X,IX,VIII,VII,VI,V,IV,III,II,I
---
> 1,2,3,4,5,6,7,8,9,10
> One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten
> First,Second,Third,Fourth,Fifth,Sixth,Seventh,Eighth,Ninth,Tenth
> I,II,III,IV,V,VI,VII,VIII,IX,X

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 22 remaining solutions by signing in and submitting your own entry
#23 Thor Döör / @throwpedro - Score: 184 - 12/02/24 @ 21:20
dddddddd<50-53>1,2,3,4,5,6,7,8,9,10<CR>One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten<CR>First,Second,Third,Fourth,Fifth,Sixth,Seventh,Eighth,Ninth,Tenth<CR>I,II,III,IV,V,VI,VII,VIII,IX,X<Esc>[201~:wq<CR>

0 comments


Created by: @maharba6

23 active golfers, 91 entries

Leaderboard (lowest score wins):
17
#1 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

11/23/2024 at 01:36AM

17
#2 - xscript71 / @xscript71

11/24/2024 at 10:40AM

17
#3 - Rodi-Janssen / @Rodi-Janssen

11/26/2024 at 02:01PM

17
#4 - countime / @countime

11/26/2024 at 02:43PM

17
#5 - John Braxler / @braxler

11/26/2024 at 10:41PM

17
#6 - GGOBP / @GG-O-BP

12/02/2024 at 07:01AM

17
#7 - abgalphbetz / @abgalphabetz

12/05/2024 at 08:08PM

26
#8 - iantalks / @iantalks

12/03/2024 at 12:55PM

28
#9 - Peppa Pig / @PeppaPi95550250

11/23/2024 at 12:26AM

32
#10 - Pablo Acuna / @pacuna

11/22/2024 at 08:42PM

42
#11 - MartnRamtin / @MartnRamtin

12/02/2024 at 11:08PM

44
#12 - mysper / @mysper

11/29/2024 at 08:17AM

44
#13 - k1mosabe / @k1mosabe

12/02/2024 at 06:36PM

44
#14 - Brian Le / @bkylele

12/04/2024 at 07:04AM

47
#15 - Rishi Tez Reddy / @RishiTez

11/28/2024 at 12:20PM

49
#16 - Silver / @paradisehex

11/26/2024 at 11:18AM

57
#17 - LunaSakura / @Luna5akura

11/28/2024 at 08:07AM

57
#18 - Shoob / @martinshoob

12/02/2024 at 11:07AM

70
#19 - editor3D / @editor3D

11/27/2024 at 09:29PM

78
#20 - Buliway / @Buliway

11/30/2024 at 09:11PM

133
#21 - Gedoy / @Gedoy9793

11/26/2024 at 11:34AM

152
#22 - maharba6 / @maharba6

11/22/2024 at 06:13AM

184
#23 - Thor Döör / @throwpedro

12/02/2024 at 09:20PM