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 50c2c246b0544c000200003f

Block Fun 1

Manipulate the columns to produce desired result.

Start file
01234567890123456789012345678901234567890123456789012345678901234567890123456789
1                                                                              0
2                                                                              1
3                                                                              2
4                                                                              3
5                                                                              4
6                                                                              5
7                                                                              6
8                                                                              7
9                                                                              8
01234567890123456789012345678901234567890123456789012345678901234567890123456789
End file
01234567890123456789012345678901234567890123456789012345678901234567890123456789
1        0         0         0         0         0         0         0         0
2        1         1         1         1         1         1         1         1
3        2         2         2         2         2         2         2         2
4        3         3         3         3         3         3         3         3
5        4         4         4         4         4         4         4         4
6        5         5         5         5         5         5         5         5
7        6         6         6         6         6         6         6         6
8        7         7         7         7         7         7         7         7
9        8         8         8         8         8         8         8         8
01234567890123456789012345678901234567890123456789012345678901234567890123456789

View Diff

2,10c2,10
< 1                                                                              0
< 2                                                                              1
< 3                                                                              2
< 4                                                                              3
< 5                                                                              4
< 6                                                                              5
< 7                                                                              6
< 8                                                                              7
< 9                                                                              8
---
> 1        0         0         0         0         0         0         0         0
> 2        1         1         1         1         1         1         1         1
> 3        2         2         2         2         2         2         2         2
> 4        3         3         3         3         3         3         3         3
> 5        4         4         4         4         4         4         4         4
> 6        5         5         5         5         5         5         5         5
> 7        6         6         6         6         6         6         6         6
> 8        7         7         7         7         7         7         7         7
> 9        8         8         8         8         8         8         8         8

Solutions by @tomkpz:

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

72 active golfers, 188 entries

Solutions by @tomkpz:
15
#17 - Michel Viktor / @tomkpz

07/29/2021 at 02:05AM

16
#>18 - Michel Viktor / @tomkpz

07/29/2021 at 02:05AM

17
#>20 - Michel Viktor / @tomkpz

07/29/2021 at 02:03AM

19
#>28 - Michel Viktor / @tomkpz

07/29/2021 at 02:03AM

20
#>30 - Michel Viktor / @tomkpz

07/29/2021 at 02:02AM

21
#>36 - Michel Viktor / @tomkpz

07/29/2021 at 02:01AM

21
#>36 - Michel Viktor / @tomkpz

07/29/2021 at 02:02AM

22
#>42 - Michel Viktor / @tomkpz

07/29/2021 at 02:01AM

23
#>45 - Michel Viktor / @tomkpz

07/29/2021 at 02:00AM

24
#>55 - Michel Viktor / @tomkpz

07/29/2021 at 01:57AM

25
#>62 - Michel Viktor / @tomkpz

07/29/2021 at 01:56AM

26
#>64 - Michel Viktor / @tomkpz

07/29/2021 at 01:55AM

27
#>64 - Michel Viktor / @tomkpz

07/29/2021 at 01:55AM