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 5ba020f91abf2d000951055c

Com(m)a Trouble

Someone was real stupid when placing his commas. Can you fix it?

Start file
,0,1,2,3,4,5,6,7,89
,1,2,3,4,5,6,7,8,90
,2,3,4,5,6,7,8,9,01
,3,4,5,6,7,8,9,0,12
,4,5,6,7,8,9,0,1,23
56,7,8,9,0,1,2,3,4,
67,8,9,0,1,2,3,4,5,
78,9,0,1,2,3,4,5,6,
89,0,1,2,3,4,5,6,7,
90,1,2,3,4,5,6,7,8,
End file
0,1,2,3,4,5,6,7,8,9
1,2,3,4,5,6,7,8,9,0
2,3,4,5,6,7,8,9,0,1
3,4,5,6,7,8,9,0,1,2
4,5,6,7,8,9,0,1,2,3
5,6,7,8,9,0,1,2,3,4
6,7,8,9,0,1,2,3,4,5
7,8,9,0,1,2,3,4,5,6
8,9,0,1,2,3,4,5,6,7
9,0,1,2,3,4,5,6,7,8

View Diff

1,10c1,10
< ,0,1,2,3,4,5,6,7,89
< ,1,2,3,4,5,6,7,8,90
< ,2,3,4,5,6,7,8,9,01
< ,3,4,5,6,7,8,9,0,12
< ,4,5,6,7,8,9,0,1,23
< 56,7,8,9,0,1,2,3,4,
< 67,8,9,0,1,2,3,4,5,
< 78,9,0,1,2,3,4,5,6,
< 89,0,1,2,3,4,5,6,7,
< 90,1,2,3,4,5,6,7,8,
---
> 0,1,2,3,4,5,6,7,8,9
> 1,2,3,4,5,6,7,8,9,0
> 2,3,4,5,6,7,8,9,0,1
> 3,4,5,6,7,8,9,0,1,2
> 4,5,6,7,8,9,0,1,2,3
> 5,6,7,8,9,0,1,2,3,4
> 6,7,8,9,0,1,2,3,4,5
> 7,8,9,0,1,2,3,4,5,6
> 8,9,0,1,2,3,4,5,6,7
> 9,0,1,2,3,4,5,6,7,8

Solutions by @alexandrasou2:

Unlock 13 remaining solutions by signing in and submitting your own entry
Created by: @DustVoice

821 active golfers, 3654 entries

Solutions by @alexandrasou2:
13
#238 - alexandrasou / @alexandrasou2

05/22/2019 at 12:53PM

14
#>362 - alexandrasou / @alexandrasou2

05/22/2019 at 12:52PM

15
#>406 - alexandrasou / @alexandrasou2

05/22/2019 at 12:45PM

16
#>451 - alexandrasou / @alexandrasou2

05/22/2019 at 12:44PM

17
#>517 - alexandrasou / @alexandrasou2

05/22/2019 at 12:40PM

18
#>566 - alexandrasou / @alexandrasou2

05/22/2019 at 12:39PM

25
#>661 - alexandrasou / @alexandrasou2

05/22/2019 at 12:34PM

37
#>755 - alexandrasou / @alexandrasou2

05/22/2019 at 12:32PM

41
#>763 - alexandrasou / @alexandrasou2

05/22/2019 at 12:29PM

57
#>801 - alexandrasou / @alexandrasou2

05/22/2019 at 12:23PM

60
#>805 - alexandrasou / @alexandrasou2

05/22/2019 at 12:19PM

71
#>808 - alexandrasou / @alexandrasou2

05/22/2019 at 12:15PM

81
#>812 - alexandrasou / @alexandrasou2

05/22/2019 at 12:07PM