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

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

41 active golfers, 148 entries

Solutions by @danielf:
25
#5 - Daniel Fleischman / @danielf

05/05/2025 at 08:12PM

32
#>11 - Daniel Fleischman / @danielf

05/05/2025 at 08:09PM

40
#>14 - Daniel Fleischman / @danielf

05/05/2025 at 08:07PM

42
#>16 - Daniel Fleischman / @danielf

05/05/2025 at 08:06PM

43
#>17 - Daniel Fleischman / @danielf

05/05/2025 at 08:05PM

44
#>19 - Daniel Fleischman / @danielf

05/05/2025 at 08:04PM

45
#>20 - Daniel Fleischman / @danielf

05/05/2025 at 08:01PM

58
#>30 - Daniel Fleischman / @danielf

05/05/2025 at 07:58PM

59
#>30 - Daniel Fleischman / @danielf

05/05/2025 at 08:19PM

60
#>31 - Daniel Fleischman / @danielf

05/05/2025 at 07:56PM

63
#>32 - Daniel Fleischman / @danielf

05/05/2025 at 07:54PM