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

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

51 active golfers, 285 entries

Solutions by @park_jungy:
33
#7 - Jung Yeon Park / @park_jungy

02/01/2021 at 06:10PM

34
#>15 - Jung Yeon Park / @park_jungy

02/01/2021 at 06:10PM

35
#>23 - Jung Yeon Park / @park_jungy

02/01/2021 at 06:09PM

41
#>28 - Jung Yeon Park / @park_jungy

02/01/2021 at 06:07PM

43
#>31 - Jung Yeon Park / @park_jungy

02/01/2021 at 06:00PM

47
#>32 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:59PM

51
#>32 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:58PM

58
#>35 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:55PM

62
#>38 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:54PM

66
#>39 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:53PM

76
#>40 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:51PM

82
#>41 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:48PM

97
#>43 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:38PM

138
#>50 - Jung Yeon Park / @park_jungy

02/01/2021 at 05:33PM