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 19 remaining solutions by signing in and submitting your own entry
#20 zmf_tim / @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_

20 active golfers, 51 entries

Leaderboard (lowest score wins):
26
#1 - 𝚃𝚒𝚝𝚘𝚞𝚊𝚗 𝚃𝚎𝚢𝚜𝚜𝚒𝚎𝚛 / @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 - Dan / @dstein64

02/26/2019 at 04:37AM

26
#7 - majo senf / @majo_senf

06/25/2019 at 12:40PM

26
#8 - Filipe Brandenburger / @filbranden

07/06/2019 at 04:43PM

26
#9 - Martin Delille / @martinodelilo

08/20/2019 at 09:13AM

26
#10 - Peppa Pig / @PeppaPi95550250

07/02/2024 at 08:21AM

26
#11 - nickGPT / @nickandbro

08/25/2024 at 02:33AM

35
#12 - Luoyb / @Luoyb

11/01/2023 at 07:16AM

36
#13 - Jean George / @JeanGeo20504212

01/06/2022 at 10:32AM

39
#14 - Lory / @Lory46845742

12/27/2019 at 01:37PM

40
#15 - T A / @SirAviles

02/23/2019 at 12:50AM

158
#16 - ثامر / @julienborghetti

03/09/2019 at 05:35PM

167
#17 - sjcomp / @sjcomp

02/22/2019 at 08:12PM

180
#18 - e1mnos / @e1mnos

08/14/2021 at 05:24PM

189
#19 - Svet PENKOV / @svet_ai

03/13/2019 at 04:42PM

657
#20 - zmf_tim / @zmf_tim

02/21/2019 at 01:04PM