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

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

55 active golfers, 310 entries

Solutions by @DpetrovicV:
35
#22 - dpetrovic_vimgolf / @DpetrovicV

09/06/2019 at 12:20PM

41
#>29 - dpetrovic_vimgolf / @DpetrovicV

09/06/2019 at 12:17PM

43
#>34 - dpetrovic_vimgolf / @DpetrovicV

09/06/2019 at 12:12PM

46
#>34 - dpetrovic_vimgolf / @DpetrovicV

09/06/2019 at 12:08PM

62
#>41 - dpetrovic_vimgolf / @DpetrovicV

09/06/2019 at 12:02PM

65
#>41 - dpetrovic_vimgolf / @DpetrovicV

09/06/2019 at 12:00PM

67
#>42 - dpetrovic_vimgolf / @DpetrovicV

09/06/2019 at 11:42AM