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

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

74 active golfers, 335 entries

Solutions by @nibudd:
27
#11 - Nathan Budd / @nibudd

10/09/2023 at 12:28AM

28
#>25 - Nathan Budd / @nibudd

10/09/2023 at 12:20AM

30
#>36 - Nathan Budd / @nibudd

10/09/2023 at 12:16AM

31
#>37 - Nathan Budd / @nibudd

10/09/2023 at 12:12AM

32
#>38 - Nathan Budd / @nibudd

10/09/2023 at 12:11AM

33
#>40 - Nathan Budd / @nibudd

10/09/2023 at 12:03AM

34
#>40 - Nathan Budd / @nibudd

10/08/2023 at 11:57PM

37
#>41 - Nathan Budd / @nibudd

10/08/2023 at 11:52PM

39
#>43 - Nathan Budd / @nibudd

09/30/2023 at 12:24AM

40
#>46 - Nathan Budd / @nibudd

09/29/2023 at 11:49PM

43
#>48 - Nathan Budd / @nibudd

09/24/2023 at 10:41PM

49
#>52 - Nathan Budd / @nibudd

09/25/2023 at 04:01AM

52
#>52 - Nathan Budd / @nibudd

09/24/2023 at 05:51PM

102
#>66 - Nathan Budd / @nibudd

09/24/2023 at 05:45PM