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 9v006722bece000000000576

The Fibonacci Spacer

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

Start file
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed erat ligula, facilisis.
End file
Lorem
 ipsum
 dolor
  sit
   amet
     consectetur
        adipiscing
             elit
                     Sed
                                  erat
                                                       ligula
                                                                                         facilisis

View Diff

1c1,12
< Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed erat ligula, facilisis.
---
> Lorem
>  ipsum
>  dolor
>   sit
>    amet
>      consectetur
>         adipiscing
>              elit
>                      Sed
>                                   erat
>                                                        ligula
>                                                                                          facilisis

Solutions by @ehre9305:

Unlock 2 remaining solutions by signing in and submitting your own entry
Created by: @pacuna

17 active golfers, 45 entries

Solutions by @ehre9305:
44
#6 - ehre9305 / @ehre9305

11/01/2024 at 11:52PM

49
#>11 - ehre9305 / @ehre9305

11/01/2024 at 11:40PM