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

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

273 active golfers, 1050 entries

Solutions by @martinodelilo:
33
#10 - Martin Delille / @martinodelilo

08/22/2019 at 02:34PM

34
#>26 - Martin Delille / @martinodelilo

08/22/2019 at 02:32PM

35
#>52 - Martin Delille / @martinodelilo

08/22/2019 at 02:31PM

36
#>74 - Martin Delille / @martinodelilo

08/22/2019 at 02:26PM

36
#>74 - Martin Delille / @martinodelilo

08/22/2019 at 02:29PM

37
#>76 - Martin Delille / @martinodelilo

08/22/2019 at 02:23PM

38
#>77 - Martin Delille / @martinodelilo

08/22/2019 at 02:20PM

38
#>77 - Martin Delille / @martinodelilo

08/22/2019 at 02:21PM

40
#>94 - Martin Delille / @martinodelilo

08/22/2019 at 02:18PM

41
#>108 - Martin Delille / @martinodelilo

08/22/2019 at 02:15PM

44
#>121 - Martin Delille / @martinodelilo

08/22/2019 at 02:13PM

45
#>129 - Martin Delille / @martinodelilo

08/22/2019 at 10:46AM

50
#>196 - Martin Delille / @martinodelilo

07/09/2015 at 01:48PM