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

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

53 active golfers, 210 entries

Solutions by @abc41115243:
50
#21 - a b c / @abc41115243

03/12/2021 at 07:40PM

58
#>21 - a b c / @abc41115243

03/12/2021 at 06:51PM

81
#>31 - a b c / @abc41115243

03/12/2021 at 06:13PM

82
#>31 - a b c / @abc41115243

03/12/2021 at 06:31PM

84
#>35 - a b c / @abc41115243

03/12/2021 at 06:05PM

96
#>42 - a b c / @abc41115243

03/12/2021 at 05:32PM

100
#>42 - a b c / @abc41115243

03/12/2021 at 05:48PM