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

snowflake fractal

From step 0 to step 3 of a fractal

Start file
X
End file
X X   X X         X X   X X
 X     X           X     X
X X   X X         X X   X X
   X X               X X
    X                 X
   X X               X X
X X   X X         X X   X X
 X     X           X     X
X X   X X         X X   X X
         X X   X X
          X     X
         X X   X X
            X X
             X
            X X
         X X   X X
          X     X
         X X   X X
X X   X X         X X   X X
 X     X           X     X
X X   X X         X X   X X
   X X               X X
    X                 X
   X X               X X
X X   X X         X X   X X
 X     X           X     X
X X   X X         X X   X X

View Diff

1c1,27
< X
---
> X X   X X         X X   X X
>  X     X           X     X
> X X   X X         X X   X X
>    X X               X X
>     X                 X
>    X X               X X
> X X   X X         X X   X X
>  X     X           X     X
> X X   X X         X X   X X
>          X X   X X
>           X     X
>          X X   X X
>             X X
>              X
>             X X
>          X X   X X
>           X     X
>          X X   X X
> X X   X X         X X   X X
>  X     X           X     X
> X X   X X         X X   X X
>    X X               X X
>     X                 X
>    X X               X X
> X X   X X         X X   X X
>  X     X           X     X
> X X   X X         X X   X X

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 10 remaining solutions by signing in and submitting your own entry
#11 Timothée Gauthier / @zmf_tim - Score: 657 - 02/21/19 @ 13:04
:set paste<CR>oX X   X X         X X   X X<CR> X     X           X     X<CR>X X   X X         X X   X X<CR>   X X               X X<CR>    X                 X<CR>   X X               X X<CR>X X   X X         X X   X X<CR> X     X           X     X<CR>X X   X X         X X   X X<CR>         X X   X X<CR>          X     X<CR>         X X   X X<CR>            X X<CR>             X<CR>            X X<CR>         X X   X X<CR>          X     X<CR>         X X   X X<CR>X X   X X         X X   X X<CR> X     X           X     X<CR>X X   X X         X X   X X<CR>   X X               X X<CR>    X                 X<CR>   X X               X X<CR>X X   X X         X X   X X<CR> X     X           X     X<CR>X X   X X         X X   X X<Esc>ggddZZ

@zmf_tim: Sorry for preventing you seing other solution :/

1 comment


Created by: @TitouanT_

11 active golfers, 26 entries

Leaderboard (lowest score wins):
26
#1 - Titouan Teyssier / @TitouanT_

02/19/2019 at 11:35PM

26
#2 - Turkey Man / @lvturkeyman

02/20/2019 at 04:04AM

26
#3 - Smylers / @Smylers2

02/20/2019 at 06:57AM

26
#4 - Saki Gw / @Sakigw

02/20/2019 at 09:39AM

26
#5 - John Braxler / @braxler

02/20/2019 at 01:55PM

26
#6 - Daniel Steinberg / @dstein64

02/26/2019 at 04:37AM

40
#7 - T A / @SirAviles

02/23/2019 at 12:50AM

158
#8 - ثامر / @julienborghetti

03/09/2019 at 05:35PM

167
#9 - sjcomp / @sjcomp

02/22/2019 at 08:12PM

189
#10 - Svetlin PENKOV / @SvetlinPenkov

03/13/2019 at 04:42PM

657
#11 - Timothée Gauthier / @zmf_tim

02/21/2019 at 01:04PM