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 5d5c4f742eb5c3000624f668

ASCII-art Histogram

Create an ASCCI-art histogram for the given numbers. Make sure not to leave trailing whitespaces. Thanks to VimGolf I recently discovered a feature of Vim thAT blew my mind. I'm curious to see what real ninjas make of it ;-)

Start file
 2  4  3  6  5  8  9  7  2  3  1
End file
                  [#]
               [#][#]
               [#][#][#]
         [#]   [#][#][#]
         [#][#][#][#][#]
   [#]   [#][#][#][#][#]
   [#][#][#][#][#][#][#]   [#]
[#][#][#][#][#][#][#][#][#][#]
[#][#][#][#][#][#][#][#][#][#][#]
 2  4  3  6  5  8  9  7  2  3  1

View Diff

0a1,10
> 
>                   [#]
>                [#][#]
>                [#][#][#]
>          [#]   [#][#][#]
>          [#][#][#][#][#]
>    [#]   [#][#][#][#][#]
>    [#][#][#][#][#][#][#]   [#]
> [#][#][#][#][#][#][#][#][#][#]
> [#][#][#][#][#][#][#][#][#][#][#]

Solutions by @RomanPrivalov:

Unlock 9 remaining solutions by signing in and submitting your own entry
Created by: @aigledesalpes

51 active golfers, 285 entries

Solutions by @RomanPrivalov:
33
#8 - Roman Privalov / @RomanPrivalov

09/24/2021 at 07:43PM

34
#>15 - Roman Privalov / @RomanPrivalov

09/24/2021 at 07:37PM

35
#>24 - Roman Privalov / @RomanPrivalov

09/24/2021 at 07:32PM

41
#>28 - Roman Privalov / @RomanPrivalov

09/24/2021 at 07:23PM

56
#>33 - Roman Privalov / @RomanPrivalov

09/24/2021 at 07:14PM

61
#>35 - Roman Privalov / @RomanPrivalov

09/24/2021 at 07:07PM

64
#>38 - Roman Privalov / @RomanPrivalov

09/24/2021 at 07:04PM

74
#>39 - Roman Privalov / @RomanPrivalov

09/24/2021 at 05:41AM

83
#>41 - Roman Privalov / @RomanPrivalov

09/24/2021 at 05:31AM