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

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

77 active golfers, 225 entries

Solutions by @GavinKoeng:
14
#18 - Gavin / @GavinKoeng

06/07/2026 at 01:18PM

15
#>20 - Gavin / @GavinKoeng

06/07/2026 at 01:18PM

16
#>21 - Gavin / @GavinKoeng

06/07/2026 at 01:18PM

17
#>24 - Gavin / @GavinKoeng

06/07/2026 at 01:17PM

19
#>31 - Gavin / @GavinKoeng

06/07/2026 at 01:17PM

19
#>31 - Gavin / @GavinKoeng

06/07/2026 at 01:17PM

20
#>33 - Gavin / @GavinKoeng

06/07/2026 at 01:16PM

21
#>39 - Gavin / @GavinKoeng

06/07/2026 at 01:16PM

22
#>46 - Gavin / @GavinKoeng

06/07/2026 at 01:16PM

23
#>50 - Gavin / @GavinKoeng

06/07/2026 at 01:15PM

24
#>61 - Gavin / @GavinKoeng

06/07/2026 at 01:14PM

25
#>67 - Gavin / @GavinKoeng

06/07/2026 at 01:14PM

26
#>69 - Gavin / @GavinKoeng

06/07/2026 at 01:14PM

28
#>70 - Gavin / @GavinKoeng

06/07/2026 at 01:13PM