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

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

865 active golfers, 3823 entries

Solutions by @SnLHUF5ZYJXqI1m:
12
#85 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:28PM

13
#>280 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:26PM

14
#>396 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:25PM

15
#>437 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:22PM

15
#>437 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:25PM

16
#>495 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:16PM

16
#>495 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:20PM

16
#>495 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:21PM

17
#>559 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:14PM

17
#>559 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:20PM

19
#>628 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:11PM

20
#>640 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:19PM

22
#>663 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:04PM

22
#>663 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:09PM

23
#>676 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 05:01PM

24
#>690 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:58PM

24
#>690 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:59PM

25
#>700 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:55PM

26
#>712 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:52PM

26
#>712 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:56PM

28
#>734 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:45PM

29
#>750 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:44PM

36
#>795 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:41PM

40
#>802 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:36PM

48
#>830 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:24PM

50
#>834 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:22PM

50
#>834 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:24PM

51
#>837 - 임덕윤 / @SnLHUF5ZYJXqI1m

12/25/2019 at 04:18PM