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

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

75 active golfers, 337 entries

Solutions by @PeppaPi95550250:
27
#15 - Peppa Pig / @PeppaPi95550250

07/14/2024 at 02:49AM

28
#>28 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:17AM

30
#>36 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:16AM

31
#>37 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:15AM

33
#>40 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:13AM

34
#>40 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:11AM

39
#>43 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:08AM

45
#>50 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:06AM

51
#>52 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:03AM

55
#>56 - Peppa Pig / @PeppaPi95550250

04/22/2024 at 07:01AM