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

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

53 active golfers, 210 entries

Solutions by @eksoderstrom:
36
#5 - Eric Söderström / @eksoderstrom

03/16/2021 at 05:03PM

40
#>14 - Eric Söderström / @eksoderstrom

03/15/2021 at 04:14PM

50
#>21 - Eric Söderström / @eksoderstrom

03/15/2021 at 04:10PM

51
#>21 - Eric Söderström / @eksoderstrom

03/15/2021 at 04:04PM

59
#>21 - Eric Söderström / @eksoderstrom

03/10/2021 at 05:40PM

80
#>29 - Eric Söderström / @eksoderstrom

03/09/2021 at 10:04PM

102
#>43 - Eric Söderström / @eksoderstrom

03/09/2021 at 09:59PM

118
#>48 - Eric Söderström / @eksoderstrom

03/09/2021 at 09:56PM