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

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

274 active golfers, 1061 entries

Solutions by @johnwgoes:
34
#22 - John Goes / @johnwgoes

05/08/2016 at 07:40PM

34
#>22 - John Goes / @johnwgoes

05/08/2016 at 10:00PM

35
#>51 - John Goes / @johnwgoes

05/08/2016 at 07:02PM

36
#>64 - John Goes / @johnwgoes

05/08/2016 at 06:06PM

39
#>84 - John Goes / @johnwgoes

05/08/2016 at 06:05PM

41
#>104 - John Goes / @johnwgoes

05/08/2016 at 06:04PM

43
#>117 - John Goes / @johnwgoes

05/08/2016 at 06:03PM

46
#>138 - John Goes / @johnwgoes

05/08/2016 at 06:02PM

47
#>152 - John Goes / @johnwgoes

05/08/2016 at 01:34PM

48
#>165 - John Goes / @johnwgoes

05/08/2016 at 01:19PM

49
#>186 - John Goes / @johnwgoes

05/08/2016 at 01:11PM