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

275 active golfers, 1071 entries

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

12/06/2023 at 01:05AM

40
#>97 - rayx / @ray-x

12/06/2023 at 01:03AM

41
#>111 - rayx / @ray-x

12/06/2023 at 01:02AM

42
#>116 - rayx / @ray-x

12/06/2023 at 01:00AM

44
#>123 - rayx / @ray-x

12/06/2023 at 12:49AM

44
#>123 - rayx / @ray-x

12/06/2023 at 12:54AM

45
#>131 - rayx / @ray-x

12/06/2023 at 12:47AM

46
#>144 - rayx / @ray-x

12/06/2023 at 12:44AM

47
#>156 - rayx / @ray-x

12/06/2023 at 12:41AM

48
#>174 - rayx / @ray-x

12/06/2023 at 12:39AM

51
#>229 - rayx / @ray-x

12/06/2023 at 12:33AM

52
#>238 - rayx / @ray-x

12/06/2023 at 12:29AM