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

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

75 active golfers, 337 entries

Solutions by @VimgolfU:
28
#28 - Vimgolf User / @VimgolfU

11/11/2023 at 01:40PM

30
#>36 - Vimgolf User / @VimgolfU

11/11/2023 at 01:33PM

31
#>37 - Vimgolf User / @VimgolfU

11/11/2023 at 01:26PM

48
#>52 - Vimgolf User / @VimgolfU

11/11/2023 at 12:23PM

50
#>52 - Vimgolf User / @VimgolfU

11/11/2023 at 12:21PM

60
#>58 - Vimgolf User / @VimgolfU

11/11/2023 at 12:16PM

61
#>59 - Vimgolf User / @VimgolfU

11/11/2023 at 12:10PM

64
#>60 - Vimgolf User / @VimgolfU

11/10/2023 at 02:43PM

72
#>60 - Vimgolf User / @VimgolfU

11/10/2023 at 02:42PM

89
#>65 - Vimgolf User / @VimgolfU

11/10/2023 at 02:40PM

184
#>70 - Vimgolf User / @VimgolfU

11/10/2023 at 02:38PM