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

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

72 active golfers, 314 entries

Solutions by @vuems2win:
30
#34 - vuems / @vuems2win

11/19/2022 at 01:25PM

31
#>35 - vuems / @vuems2win

11/19/2022 at 01:08PM

32
#>36 - vuems / @vuems2win

11/19/2022 at 01:01PM

33
#>38 - vuems / @vuems2win

11/19/2022 at 12:59PM

38
#>40 - vuems / @vuems2win

11/19/2022 at 12:55PM

39
#>41 - vuems / @vuems2win

11/19/2022 at 12:39PM

40
#>43 - vuems / @vuems2win

11/19/2022 at 12:21PM

43
#>46 - vuems / @vuems2win

11/19/2022 at 12:10PM

44
#>47 - vuems / @vuems2win

11/19/2022 at 12:02PM

45
#>48 - vuems / @vuems2win

11/19/2022 at 11:55AM

53
#>52 - vuems / @vuems2win

11/19/2022 at 11:43AM

54
#>53 - vuems / @vuems2win

11/19/2022 at 11:29AM

55
#>53 - vuems / @vuems2win

11/19/2022 at 11:13AM

60
#>56 - vuems / @vuems2win

11/19/2022 at 11:01AM

61
#>57 - vuems / @vuems2win

11/18/2022 at 02:02AM

161
#>67 - vuems / @vuems2win

11/18/2022 at 01:20AM

264
#>70 - vuems / @vuems2win

11/18/2022 at 12:59AM

300
#>71 - vuems / @vuems2win

11/18/2022 at 12:30AM