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

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

53 active golfers, 210 entries

Solutions by @brendan_m6s:
40
#20 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 02:04PM

48
#>20 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:50PM

58
#>21 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:46PM

66
#>26 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:24PM

68
#>27 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:21PM

70
#>28 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:18PM

71
#>28 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 12:32PM

78
#>29 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 12:26PM

80
#>30 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 12:30PM

87
#>40 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 12:22PM

97
#>42 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 11:56AM

108
#>47 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 11:51AM

116
#>48 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 11:42AM