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

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

75 active golfers, 210 entries

Solutions by @nickandbro:
14
#17 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

15
#>19 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

16
#>20 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

17
#>23 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

19
#>30 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

20
#>32 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

21
#>38 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

22
#>45 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

23
#>49 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

24
#>60 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

25
#>65 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

26
#>67 - nickGPT / @nickandbro

08/28/2024 at 07:10PM

28
#>68 - nickGPT / @nickandbro

08/28/2024 at 07:09PM

32
#>69 - nickGPT / @nickandbro

08/28/2024 at 07:09PM

35
#>70 - nickGPT / @nickandbro

08/28/2024 at 07:09PM

38
#>71 - nickGPT / @nickandbro

08/28/2024 at 07:09PM

47
#>72 - nickGPT / @nickandbro

08/28/2024 at 07:09PM

51
#>73 - nickGPT / @nickandbro

08/28/2024 at 07:09PM

52
#>74 - nickGPT / @nickandbro

08/28/2024 at 07:09PM

484
#>75 - nickGPT / @nickandbro

08/28/2024 at 07:09PM