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 @ray-x:

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

274 active golfers, 1061 entries

Solutions by @ray-x:
39
#89 - rayx / @ray-x

12/06/2023 at 01:05AM

40
#>96 - rayx / @ray-x

12/06/2023 at 01:03AM

41
#>110 - rayx / @ray-x

12/06/2023 at 01:02AM

42
#>115 - rayx / @ray-x

12/06/2023 at 01:00AM

44
#>122 - rayx / @ray-x

12/06/2023 at 12:49AM

44
#>122 - rayx / @ray-x

12/06/2023 at 12:54AM

45
#>130 - rayx / @ray-x

12/06/2023 at 12:47AM

46
#>143 - rayx / @ray-x

12/06/2023 at 12:44AM

47
#>155 - rayx / @ray-x

12/06/2023 at 12:41AM

48
#>173 - rayx / @ray-x

12/06/2023 at 12:39AM

51
#>228 - rayx / @ray-x

12/06/2023 at 12:33AM

52
#>237 - rayx / @ray-x

12/06/2023 at 12:29AM