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 502f2e628f37220002000031

Create an alphabet diamond

Here's a brain teaser to keep things interesting...

Start file
A
End file
                         AA
                        BBBB
                       CCCCCC
                      DDDDDDDD
                     EEEEEEEEEE
                    FFFFFFFFFFFF
                   GGGGGGGGGGGGGG
                  HHHHHHHHHHHHHHHH
                 IIIIIIIIIIIIIIIIII
                JJJJJJJJJJJJJJJJJJJJ
               KKKKKKKKKKKKKKKKKKKKKK
              LLLLLLLLLLLLLLLLLLLLLLLL
             MMMMMMMMMMMMMMMMMMMMMMMMMM
            NNNNNNNNNNNNNNNNNNNNNNNNNNNN
           OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
          PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
         QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ
        RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
       SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
      TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
     UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
    VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
   WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
 YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
    VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
     UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
      TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
       SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
        RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
         QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ
          PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
           OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
            NNNNNNNNNNNNNNNNNNNNNNNNNNNN
             MMMMMMMMMMMMMMMMMMMMMMMMMM
              LLLLLLLLLLLLLLLLLLLLLLLL
               KKKKKKKKKKKKKKKKKKKKKK
                JJJJJJJJJJJJJJJJJJJJ
                 IIIIIIIIIIIIIIIIII
                  HHHHHHHHHHHHHHHH
                   GGGGGGGGGGGGGG
                    FFFFFFFFFFFF
                     EEEEEEEEEE
                      DDDDDDDD
                       CCCCCC
                        BBBB
                         AA

View Diff

1c1,52
< A
---
>                          AA
>                         BBBB
>                        CCCCCC
>                       DDDDDDDD
>                      EEEEEEEEEE
>                     FFFFFFFFFFFF
>                    GGGGGGGGGGGGGG
>                   HHHHHHHHHHHHHHHH
>                  IIIIIIIIIIIIIIIIII
>                 JJJJJJJJJJJJJJJJJJJJ
>                KKKKKKKKKKKKKKKKKKKKKK
>               LLLLLLLLLLLLLLLLLLLLLLLL
>              MMMMMMMMMMMMMMMMMMMMMMMMMM
>             NNNNNNNNNNNNNNNNNNNNNNNNNNNN
>            OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
>           PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
>          QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ
>         RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
>        SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
>       TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
>      UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
>     VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
>    WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
>   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>  YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
> ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
> ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
>  YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
>   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>    WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
>     VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
>      UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
>       TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
>        SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
>         RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
>          QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ
>           PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
>            OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
>             NNNNNNNNNNNNNNNNNNNNNNNNNNNN
>              MMMMMMMMMMMMMMMMMMMMMMMMMM
>               LLLLLLLLLLLLLLLLLLLLLLLL
>                KKKKKKKKKKKKKKKKKKKKKK
>                 JJJJJJJJJJJJJJJJJJJJ
>                  IIIIIIIIIIIIIIIIII
>                   HHHHHHHHHHHHHHHH
>                    GGGGGGGGGGGGGG
>                     FFFFFFFFFFFF
>                      EEEEEEEEEE
>                       DDDDDDDD
>                        CCCCCC
>                         BBBB
>                          AA

Solutions by @zulolosi:

Unlock 1 remaining solutions by signing in and submitting your own entry
Created by: @connermcd

32 active golfers, 105 entries

Solutions by @zulolosi:
40
#7 - Petro Тrouq / @zulolosi

07/01/2014 at 07:48PM