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

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

94 active golfers, 413 entries

Solutions by @A1OBJTxN5fTg5EJ:
40
#24 - 悟史 / @A1OBJTxN5fTg5EJ

07/12/2021 at 03:39PM

50
#>33 - 悟史 / @A1OBJTxN5fTg5EJ

07/12/2021 at 03:34PM

60
#>36 - 悟史 / @A1OBJTxN5fTg5EJ

07/12/2021 at 03:21PM

74
#>46 - 悟史 / @A1OBJTxN5fTg5EJ

07/12/2021 at 03:10PM

98
#>70 - 悟史 / @A1OBJTxN5fTg5EJ

07/12/2021 at 02:55PM

104
#>76 - 悟史 / @A1OBJTxN5fTg5EJ

07/12/2021 at 02:41PM