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 5fcaaf0e2529cd000c9304ce

Staircase

Going downstairs, while singing the alphabet song. Some vb practice to us all. Would it be much easier to make it go from left to right instead?

Start file
                         A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
End file
                         A
                        BB
                       CCC
                      DDDD
                     EEEEE
                    FFFFFF
                   GGGGGGG
                  HHHHHHHH
                 IIIIIIIII
                JJJJJJJJJJ
               KKKKKKKKKKK
              LLLLLLLLLLLL
             MMMMMMMMMMMMM
            NNNNNNNNNNNNNN
           OOOOOOOOOOOOOOO
          PPPPPPPPPPPPPPPP
         QQQQQQQQQQQQQQQQQ
        RRRRRRRRRRRRRRRRRR
       SSSSSSSSSSSSSSSSSSS
      TTTTTTTTTTTTTTTTTTTT
     UUUUUUUUUUUUUUUUUUUUU
    VVVVVVVVVVVVVVVVVVVVVV
   WWWWWWWWWWWWWWWWWWWWWWW
  XXXXXXXXXXXXXXXXXXXXXXXX
 YYYYYYYYYYYYYYYYYYYYYYYYY
ZZZZZZZZZZZZZZZZZZZZZZZZZZ

View Diff

1c1,26
<                          A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
---
>                          A
>                         BB
>                        CCC
>                       DDDD
>                      EEEEE
>                     FFFFFF
>                    GGGGGGG
>                   HHHHHHHH
>                  IIIIIIIII
>                 JJJJJJJJJJ
>                KKKKKKKKKKK
>               LLLLLLLLLLLL
>              MMMMMMMMMMMMM
>             NNNNNNNNNNNNNN
>            OOOOOOOOOOOOOOO
>           PPPPPPPPPPPPPPPP
>          QQQQQQQQQQQQQQQQQ
>         RRRRRRRRRRRRRRRRRR
>        SSSSSSSSSSSSSSSSSSS
>       TTTTTTTTTTTTTTTTTTTT
>      UUUUUUUUUUUUUUUUUUUUU
>     VVVVVVVVVVVVVVVVVVVVVV
>    WWWWWWWWWWWWWWWWWWWWWWW
>   XXXXXXXXXXXXXXXXXXXXXXXX
>  YYYYYYYYYYYYYYYYYYYYYYYYY
> ZZZZZZZZZZZZZZZZZZZZZZZZZZ

Solutions by @AyayaMoh:

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

34 active golfers, 149 entries

Solutions by @AyayaMoh:
22
#7 - moh ayaya / @AyayaMoh

08/25/2023 at 06:09PM

26
#>12 - moh ayaya / @AyayaMoh

08/25/2023 at 06:07PM

28
#>13 - moh ayaya / @AyayaMoh

08/25/2023 at 06:05PM

31
#>14 - moh ayaya / @AyayaMoh

08/25/2023 at 06:03PM

32
#>16 - moh ayaya / @AyayaMoh

08/25/2023 at 06:01PM

33
#>17 - moh ayaya / @AyayaMoh

08/25/2023 at 05:58PM

34
#>20 - moh ayaya / @AyayaMoh

08/25/2023 at 05:53PM

35
#>21 - moh ayaya / @AyayaMoh

08/25/2023 at 05:50PM

36
#>24 - moh ayaya / @AyayaMoh

08/25/2023 at 05:47PM

41
#>25 - moh ayaya / @AyayaMoh

08/25/2023 at 05:44PM

45
#>28 - moh ayaya / @AyayaMoh

08/25/2023 at 05:40PM

49
#>34 - moh ayaya / @AyayaMoh

08/25/2023 at 05:29PM

51
#>34 - moh ayaya / @AyayaMoh

08/25/2023 at 05:23PM