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

Create a diamond comment

Encapsulate the text in a diamond pattern.

Start file
This is some text
End file
         #
        # #
       #   #
      #     #
     #       #
    #         #
   #           #
  #             #
 #               #
#This is some text#
 #               #
  #             #
   #           #
    #         #
     #       #
      #     #
       #   #
        # #
         #

View Diff

1c1,19
< This is some text
---
>          #
>         # #
>        #   #
>       #     #
>      #       #
>     #         #
>    #           #
>   #             #
>  #               #
> #This is some text#
>  #               #
>   #             #
>    #           #
>     #         #
>      #       #
>       #     #
>        #   #
>         # #
>          #

Solutions by @somemeatjain:

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

52 active golfers, 215 entries

Solutions by @somemeatjain:
27
#7 - Sammit / @somemeatjain

01/25/2022 at 04:55PM

28
#>16 - Sammit / @somemeatjain

01/25/2022 at 04:51PM

30
#>22 - Sammit / @somemeatjain

01/25/2022 at 04:50PM

31
#>24 - Sammit / @somemeatjain

01/25/2022 at 04:48PM

32
#>25 - Sammit / @somemeatjain

01/25/2022 at 04:46PM

36
#>28 - Sammit / @somemeatjain

01/25/2022 at 04:43PM

37
#>28 - Sammit / @somemeatjain

01/25/2022 at 04:40PM

40
#>31 - Sammit / @somemeatjain

01/25/2022 at 04:34PM

45
#>34 - Sammit / @somemeatjain

01/25/2022 at 04:30PM

51
#>35 - Sammit / @somemeatjain

01/25/2022 at 04:23PM

55
#>37 - Sammit / @somemeatjain

01/25/2022 at 04:21PM