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

89 active golfers, 381 entries

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

04/05/2021 at 12:34AM

40
#>18 - デニス / @rolzy4

04/05/2021 at 12:32AM

50
#>31 - デニス / @rolzy4

04/05/2021 at 12:29AM

60
#>34 - デニス / @rolzy4

04/05/2021 at 12:27AM

61
#>35 - デニス / @rolzy4

04/05/2021 at 12:26AM

79
#>46 - デニス / @rolzy4

04/05/2021 at 12:24AM

81
#>49 - デニス / @rolzy4

04/05/2021 at 12:21AM

103
#>71 - デニス / @rolzy4

04/05/2021 at 12:14AM

107
#>73 - デニス / @rolzy4

04/04/2021 at 11:51PM

161
#>84 - デニス / @rolzy4

04/04/2021 at 11:40PM