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

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

39 active golfers, 135 entries

Solutions by @KatieLG:
43
#17 - Katie Gardner / @KatieLG

06/20/2025 at 06:13AM

43
#>17 - Katie Gardner / @KatieLG

06/20/2025 at 06:17AM

44
#>19 - Katie Gardner / @KatieLG

06/20/2025 at 06:11AM

52
#>26 - Katie Gardner / @KatieLG

06/20/2025 at 06:08AM

75
#>34 - Katie Gardner / @KatieLG

06/20/2025 at 05:53AM

79
#>35 - Katie Gardner / @KatieLG

06/20/2025 at 05:51AM

106
#>36 - Katie Gardner / @KatieLG

06/20/2025 at 05:49AM