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 9v0065c7bf44000000000261

months to html list items

Turn the months into list items.

Start file
<ul class="months">
january
february
march
april
may
june
july
august
september
october
november
december
</ul>
End file
<ul class="months">
       
<li>January</li>
       
<li>February</li>
       
<li>March</li>
       
<li>April</li>
       
<li>May</li>
       
<li>June</li>
       
<li>July</li>
       
<li>August</li>
       
<li>September</li>
       
<li>October</li>
       
<li>November</li>
       
<li>December</li>
</ul>

View Diff

2,13c2,13
< january
< february
< march
< april
< may
< june
< july
< august
< september
< october
< november
< december
---
>       <li>January</li>
>       <li>February</
li>
>       <li>March</li>
>       <li>April</
li>
>       <li>May</li>
>       <li>June</
li>
>       <li>July</li>
>       <li>August</
li>
>       <li>September</li>
>       <li>October</
li>
>       <li>November</li>
>       <li>December</
li>

Solutions by @cipmar:

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

277 active golfers, 1016 entries

Solutions by @cipmar:
25
#107 - Marius Ropotica / @cipmar

04/02/2024 at 04:57PM

26
#>139 - Marius Ropotica / @cipmar

04/02/2024 at 04:55PM

27
#>159 - Marius Ropotica / @cipmar

03/30/2024 at 08:24AM

27
#>160 - Marius Ropotica / @cipmar

04/02/2024 at 04:50PM

28
#>171 - Marius Ropotica / @cipmar

03/30/2024 at 07:22AM

34
#>230 - Marius Ropotica / @cipmar

03/30/2024 at 07:26AM

48
#>267 - Marius Ropotica / @cipmar

03/30/2024 at 07:21AM