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

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

31 active golfers, 137 entries

Solutions by @nak38223985244:
22
#6 - naka / @nak38223985244

10/24/2023 at 12:17PM

26
#>10 - naka / @nak38223985244

10/24/2023 at 12:13PM

28
#>11 - naka / @nak38223985244

10/24/2023 at 12:09PM

31
#>12 - naka / @nak38223985244

10/24/2023 at 12:05PM

32
#>14 - naka / @nak38223985244

10/24/2023 at 12:01PM

33
#>15 - naka / @nak38223985244

10/24/2023 at 12:00PM

34
#>18 - naka / @nak38223985244

10/24/2023 at 11:58AM

35
#>19 - naka / @nak38223985244

10/24/2023 at 11:57AM

36
#>22 - naka / @nak38223985244

10/24/2023 at 11:49AM

39
#>22 - naka / @nak38223985244

10/23/2023 at 12:55PM

40
#>22 - naka / @nak38223985244

10/23/2023 at 12:52PM

43
#>25 - naka / @nak38223985244

10/23/2023 at 12:50PM

45
#>26 - naka / @nak38223985244

10/23/2023 at 12:47PM

49
#>31 - naka / @nak38223985244

10/22/2023 at 12:13PM