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

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

36 active golfers, 133 entries

Solutions by @A1OBJTxN5fTg5EJ:
28
#10 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:11AM

30
#>16 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:09AM

33
#>19 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:07AM

34
#>20 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:04AM

40
#>23 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:01AM

52
#>26 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 04:55AM

60
#>28 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 07:11PM

131
#>31 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 06:58PM

134
#>32 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 06:55PM