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

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

75 active golfers, 337 entries

Solutions by @dillunsos:
32
#38 - Ferran / @dillunsos

07/29/2021 at 01:30PM

38
#>41 - Ferran / @dillunsos

07/29/2021 at 01:22PM

43
#>48 - Ferran / @dillunsos

07/29/2021 at 01:19PM

45
#>49 - Ferran / @dillunsos

07/29/2021 at 01:17PM

46
#>50 - Ferran / @dillunsos

07/29/2021 at 01:12PM

83
#>61 - Ferran / @dillunsos

07/29/2021 at 01:09PM