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

75 active golfers, 337 entries

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

07/11/2021 at 05:11AM

30
#>31 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:09AM

33
#>39 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:07AM

34
#>40 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:04AM

40
#>44 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 05:01AM

52
#>52 - 悟史 / @A1OBJTxN5fTg5EJ

07/11/2021 at 04:55AM

60
#>58 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 07:11PM

131
#>66 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 06:58PM

134
#>67 - 悟史 / @A1OBJTxN5fTg5EJ

07/10/2021 at 06:55PM