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 @37fatos:

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

273 active golfers, 1050 entries

Solutions by @37fatos:
33
#13 - A A A / @37fatos

01/25/2021 at 07:42PM

35
#>52 - A A A / @37fatos

01/25/2021 at 07:40PM

36
#>74 - A A A / @37fatos

01/25/2021 at 07:37PM

37
#>76 - A A A / @37fatos

01/21/2021 at 02:12AM

37
#>76 - A A A / @37fatos

01/25/2021 at 07:37PM

38
#>77 - A A A / @37fatos

01/21/2021 at 02:09AM

39
#>87 - A A A / @37fatos

01/21/2021 at 02:09AM

40
#>95 - A A A / @37fatos

01/21/2021 at 02:07AM

41
#>108 - A A A / @37fatos

01/21/2021 at 02:01AM

42
#>114 - A A A / @37fatos

01/25/2021 at 07:34PM

43
#>119 - A A A / @37fatos

01/21/2021 at 01:51AM

45
#>129 - A A A / @37fatos

01/21/2021 at 01:35AM

45
#>129 - A A A / @37fatos

01/21/2021 at 01:59AM

47
#>154 - A A A / @37fatos

01/21/2021 at 01:40AM

47
#>154 - A A A / @37fatos

01/21/2021 at 01:50AM

53
#>239 - A A A / @37fatos

01/21/2021 at 01:44AM

62
#>261 - A A A / @37fatos

01/21/2021 at 01:30AM