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 by @MartnRamtin:

Unlock 7 remaining solutions by signing in and submitting your own entry
Created by: @maharba6

39 active golfers, 139 entries

Solutions by @MartnRamtin:
42
#13 - MartnRamtin / @MartnRamtin

12/02/2024 at 11:08PM

45
#>18 - MartnRamtin / @MartnRamtin

12/02/2024 at 11:02PM

46
#>18 - MartnRamtin / @MartnRamtin

12/02/2024 at 10:58PM

52
#>23 - MartnRamtin / @MartnRamtin

12/02/2024 at 09:54PM

69
#>27 - MartnRamtin / @MartnRamtin

12/02/2024 at 09:35PM

99
#>30 - MartnRamtin / @MartnRamtin

12/02/2024 at 09:29PM

269
#>38 - MartnRamtin / @MartnRamtin

12/02/2024 at 09:22PM