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

72 active golfers, 314 entries

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

07/11/2021 at 05:11AM

30
#>29 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:09AM

33
#>37 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:07AM

34
#>38 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:04AM

40
#>42 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:01AM

52
#>50 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 04:55AM

60
#>56 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 07:11PM

131
#>64 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 06:58PM

134
#>65 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 06:55PM