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 @sando_itchi:

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

760 active golfers, 3376 entries

Solutions by @sando_itchi:
13
#184 - Sando Itchi / @sando_itchi

11/11/2018 at 08:10PM

13
#>184 - Sando Itchi / @sando_itchi

11/11/2018 at 08:11PM

13
#>184 - Sando Itchi / @sando_itchi

11/11/2018 at 10:09PM

14
#>325 - Sando Itchi / @sando_itchi

11/11/2018 at 08:09PM

15
#>365 - Sando Itchi / @sando_itchi

11/11/2018 at 08:09PM

16
#>409 - Sando Itchi / @sando_itchi

11/11/2018 at 08:07PM

19
#>546 - Sando Itchi / @sando_itchi

11/11/2018 at 08:06PM

19
#>546 - Sando Itchi / @sando_itchi

11/11/2018 at 08:06PM

19
#>546 - Sando Itchi / @sando_itchi

11/11/2018 at 10:08PM

22
#>577 - Sando Itchi / @sando_itchi

11/11/2018 at 08:04PM

22
#>577 - Sando Itchi / @sando_itchi

11/11/2018 at 08:05PM

23
#>589 - Sando Itchi / @sando_itchi

11/11/2018 at 08:03PM

29
#>652 - Sando Itchi / @sando_itchi

11/11/2018 at 08:01PM