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

94 active golfers, 413 entries

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

11/17/2021 at 02:04PM

48
#>32 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:50PM

58
#>34 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:46PM

66
#>41 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:24PM

68
#>42 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:21PM

70
#>43 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 01:18PM

71
#>44 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 12:32PM

78
#>48 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 12:26PM

80
#>50 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 12:30PM

87
#>63 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 12:22PM

97
#>70 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 11:56AM

108
#>78 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 11:51AM

116
#>83 - Brendan Maginnis / @brendan_m6s

11/17/2021 at 11:42AM