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

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

274 active golfers, 1061 entries

Solutions by @Hashub7:
33
#12 - 蔡徐坤真是爱吃屎 / @Hashub7

01/22/2021 at 08:47AM

35
#>52 - 蔡徐坤真是爱吃屎 / @Hashub7

01/22/2021 at 08:34AM

36
#>74 - 蔡徐坤真是爱吃屎 / @Hashub7

01/22/2021 at 08:31AM

37
#>77 - 蔡徐坤真是爱吃屎 / @Hashub7

01/22/2021 at 08:24AM

38
#>78 - 蔡徐坤真是爱吃屎 / @Hashub7

01/22/2021 at 08:12AM

39
#>88 - 蔡徐坤真是爱吃屎 / @Hashub7

01/22/2021 at 07:47AM

40
#>96 - 蔡徐坤真是爱吃屎 / @Hashub7

01/22/2021 at 08:08AM