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 6030936d3f9325000c6aa0aa

CSV to MD format

To convert a CSV list to Markdown list

Start file
apple,fruit
onion,vegetable
cherry,fruit
garlic,vegetable
ginger,vegetable
rose,flower
orange,fruit
jasmine,flower
End file
- flower
        - jasmine
        - rose
- fruit
        - orange
        - cherry
        - apple
- vegetable
        - ginger
        - garlic
        - onion

View Diff

1,8c1,11
< apple,fruit
< onion,vegetable
< cherry,fruit
< garlic,vegetable
< ginger,vegetable
< rose,flower
< orange,fruit
< jasmine,flower
---
> - flower
>         - jasmine
>         - rose
> - fruit
>         - orange
>         - cherry
>         - apple
> - vegetable
>         - ginger
>         - garlic
>         - onion

Solutions by @pikjes2:

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

28 active golfers, 114 entries

Solutions by @pikjes2:
36
#7 - pikjes / @pikjes2

03/21/2021 at 01:02PM

40
#>12 - pikjes / @pikjes2

03/21/2021 at 01:01PM

50
#>16 - pikjes / @pikjes2

03/21/2021 at 12:59PM

60
#>17 - pikjes / @pikjes2

03/21/2021 at 12:57PM

61
#>18 - pikjes / @pikjes2

03/21/2021 at 12:56PM

81
#>21 - pikjes / @pikjes2

03/21/2021 at 12:54PM

100
#>23 - pikjes / @pikjes2

03/21/2021 at 12:45PM

103
#>24 - pikjes / @pikjes2

03/21/2021 at 12:50PM

119
#>25 - pikjes / @pikjes2

03/21/2021 at 12:30PM