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 559e6360b6f8bd0f17010b61

Make HTML List

Turn the comma separated list into an unordered html list.

Start file
item1,item2,item3,item4,item5
End file
<ul>
	<li>item1</li>
	<li>item2</li>
	<li>item3</li>
	<li>item4</li>
	<li>item5</li>
</ul>

View Diff

1c1,7
< item1,item2,item3,item4,item5
---
> <ul>
> 	<li>item1</li>
> 	<li>item2</li>
> 	<li>item3</li>
> 	<li>item4</li>
> 	<li>item5</li>
> </ul>

Solutions by @MingDai2:

Unlock 4 remaining solutions by signing in and submitting your own entry
Created by: @compilejason

273 active golfers, 1050 entries

Solutions by @MingDai2:
46
#141 - Ming Dai / @MingDai2

07/02/2020 at 05:58AM

47
#>153 - Ming Dai / @MingDai2

07/02/2020 at 05:56AM

53
#>239 - Ming Dai / @MingDai2

07/02/2020 at 06:06AM

76
#>269 - Ming Dai / @MingDai2

07/02/2020 at 05:47AM