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

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

31 active golfers, 137 entries

Solutions by @MonkieeBoi:
22
#8 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:28AM

26
#>10 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:27AM

28
#>11 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:26AM

31
#>12 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:24AM

32
#>14 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:21AM

33
#>15 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:19AM

35
#>19 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:16AM

36
#>22 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:14AM

40
#>22 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:13AM

42
#>25 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:06AM

44
#>25 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:05AM

47
#>26 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 07:04AM