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

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

57 active golfers, 320 entries

Solutions by @floyd10086:
35
#26 - floyd / @floyd10086

03/27/2020 at 06:36AM

41
#>32 - floyd / @floyd10086

03/27/2020 at 06:24AM

54
#>37 - floyd / @floyd10086

03/27/2020 at 06:34AM

57
#>38 - floyd / @floyd10086

03/27/2020 at 05:50AM

61
#>40 - floyd / @floyd10086

03/25/2020 at 03:51PM

65
#>43 - floyd / @floyd10086

03/25/2020 at 03:10AM

76
#>46 - floyd / @floyd10086

03/24/2020 at 09:59AM

80
#>46 - floyd / @floyd10086

03/24/2020 at 09:54AM

97
#>48 - floyd / @floyd10086

03/24/2020 at 04:44AM

108
#>50 - floyd / @floyd10086

03/24/2020 at 04:37AM

110
#>52 - floyd / @floyd10086

03/24/2020 at 04:29AM

110
#>52 - floyd / @floyd10086

03/24/2020 at 04:34AM

119
#>54 - floyd / @floyd10086

03/24/2020 at 04:17AM

156
#>56 - floyd / @floyd10086

03/24/2020 at 02:10AM