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

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

24 active golfers, 81 entries

Solutions by @RonatinJ:
21
#3 - Jay R / @RonatinJ

09/25/2022 at 09:06PM

22
#>4 - Jay R / @RonatinJ

09/25/2022 at 08:50PM

26
#>6 - Jay R / @RonatinJ

09/25/2022 at 08:48PM

28
#>7 - Jay R / @RonatinJ

09/25/2022 at 08:48PM

31
#>8 - Jay R / @RonatinJ

09/25/2022 at 08:48PM

32
#>10 - Jay R / @RonatinJ

09/25/2022 at 08:47PM

33
#>11 - Jay R / @RonatinJ

09/25/2022 at 08:46PM

34
#>13 - Jay R / @RonatinJ

09/25/2022 at 08:46PM

35
#>15 - Jay R / @RonatinJ

09/25/2022 at 08:45PM

36
#>18 - Jay R / @RonatinJ

09/25/2022 at 08:45PM

41
#>18 - Jay R / @RonatinJ

09/25/2022 at 08:43PM

49
#>23 - Jay R / @RonatinJ

09/25/2022 at 08:41PM