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

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

91 active golfers, 388 entries

Solutions by @jduffy3:
86
#60 - James Duffy / @jduffy3

04/12/2022 at 01:47AM

90
#>63 - James Duffy / @jduffy3

04/12/2022 at 01:41AM

91
#>64 - James Duffy / @jduffy3

04/12/2022 at 02:01AM

92
#>65 - James Duffy / @jduffy3

04/12/2022 at 01:34AM

95
#>67 - James Duffy / @jduffy3

04/12/2022 at 01:43AM

96
#>67 - James Duffy / @jduffy3

04/12/2022 at 01:32AM

130
#>81 - James Duffy / @jduffy3

04/12/2022 at 01:29AM

168
#>86 - James Duffy / @jduffy3

04/12/2022 at 01:14AM