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

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

51 active golfers, 285 entries

Solutions by @IvanVolosyuk:
34
#12 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:51PM

35
#>21 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:49PM

41
#>27 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:47PM

43
#>31 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:43PM

47
#>32 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:41PM

55
#>33 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:39PM

61
#>35 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:36PM

64
#>38 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:30PM

66
#>39 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:25PM

67
#>39 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:22PM

79
#>40 - Ivan Volosyuk / @IvanVolosyuk

10/22/2019 at 02:07PM