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

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

53 active golfers, 210 entries

Solutions by @rolzy4:
36
#8 - デニス / @rolzy4

04/05/2021 at 12:34AM

40
#>15 - デニス / @rolzy4

04/05/2021 at 12:32AM

50
#>21 - デニス / @rolzy4

04/05/2021 at 12:29AM

60
#>23 - デニス / @rolzy4

04/05/2021 at 12:27AM

61
#>24 - デニス / @rolzy4

04/05/2021 at 12:26AM

79
#>29 - デニス / @rolzy4

04/05/2021 at 12:24AM

81
#>31 - デニス / @rolzy4

04/05/2021 at 12:21AM

103
#>44 - デニス / @rolzy4

04/05/2021 at 12:14AM

107
#>46 - デニス / @rolzy4

04/04/2021 at 11:51PM

161
#>49 - デニス / @rolzy4

04/04/2021 at 11:40PM