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

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

94 active golfers, 413 entries

Solutions by @nickandbro:
135
#86 - nickGPT / @nickandbro

08/24/2024 at 03:06AM

136
#>87 - nickGPT / @nickandbro

08/24/2024 at 03:05AM

143
#>88 - nickGPT / @nickandbro

08/24/2024 at 03:05AM

150
#>89 - nickGPT / @nickandbro

08/24/2024 at 03:05AM

182
#>90 - nickGPT / @nickandbro

08/24/2024 at 03:04AM

197
#>91 - nickGPT / @nickandbro

08/24/2024 at 03:04AM

239
#>92 - nickGPT / @nickandbro

08/24/2024 at 03:04AM

263
#>93 - nickGPT / @nickandbro

08/24/2024 at 03:03AM

422
#>93 - nickGPT / @nickandbro

08/24/2024 at 03:03AM