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

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

94 active golfers, 413 entries

Solutions by @sap38838304:
40
#30 - sap / @sap38838304

10/05/2022 at 06:40PM

50
#>34 - sap / @sap38838304

10/05/2022 at 06:36PM

53
#>34 - sap / @sap38838304

10/05/2022 at 06:33PM

60
#>36 - sap / @sap38838304

10/05/2022 at 06:02PM

60
#>36 - sap / @sap38838304

10/05/2022 at 06:27PM

61
#>38 - sap / @sap38838304

10/05/2022 at 05:26PM

62
#>39 - sap / @sap38838304

10/05/2022 at 05:21PM

65
#>41 - sap / @sap38838304

10/05/2022 at 05:19PM

67
#>42 - sap / @sap38838304

10/05/2022 at 05:16PM

72
#>46 - sap / @sap38838304

10/05/2022 at 05:10PM

72
#>46 - sap / @sap38838304

10/05/2022 at 05:14PM

76
#>46 - sap / @sap38838304

10/05/2022 at 05:06PM

82
#>53 - sap / @sap38838304

10/05/2022 at 04:59PM

124
#>83 - sap / @sap38838304

10/05/2022 at 04:47PM