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

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

865 active golfers, 3823 entries

Solutions by @qnleroy:
12
#111 - Quentin Leroy / @qnleroy

05/13/2020 at 12:25PM

12
#>111 - Quentin Leroy / @qnleroy

05/13/2020 at 12:27PM

13
#>303 - Quentin Leroy / @qnleroy

05/13/2020 at 12:23PM

14
#>400 - Quentin Leroy / @qnleroy

05/13/2020 at 12:20PM

15
#>440 - Quentin Leroy / @qnleroy

05/13/2020 at 12:18PM

15
#>440 - Quentin Leroy / @qnleroy

05/13/2020 at 12:19PM

16
#>504 - Quentin Leroy / @qnleroy

05/13/2020 at 12:16PM

17
#>566 - Quentin Leroy / @qnleroy

05/13/2020 at 12:16PM

18
#>603 - Quentin Leroy / @qnleroy

05/13/2020 at 12:13PM

18
#>603 - Quentin Leroy / @qnleroy

05/13/2020 at 12:14PM

22
#>663 - Quentin Leroy / @qnleroy

05/13/2020 at 12:12PM

23
#>677 - Quentin Leroy / @qnleroy

05/13/2020 at 12:11PM

23
#>677 - Quentin Leroy / @qnleroy

05/13/2020 at 12:15PM

28
#>735 - Quentin Leroy / @qnleroy

05/13/2020 at 12:08PM

30
#>757 - Quentin Leroy / @qnleroy

05/13/2020 at 12:08PM

45
#>817 - Quentin Leroy / @qnleroy

05/13/2020 at 11:52AM