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

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

259 active golfers, 971 entries

Solutions by @Zimbu:
22
#29 - Zimbu / @Zimbu

05/03/2024 at 12:38AM

24
#>85 - Zimbu / @Zimbu

05/03/2024 at 12:35AM

25
#>111 - Zimbu / @Zimbu

05/03/2024 at 12:07AM

26
#>136 - Zimbu / @Zimbu

05/03/2024 at 12:05AM

27
#>156 - Zimbu / @Zimbu

05/02/2024 at 11:59PM

28
#>164 - Zimbu / @Zimbu

05/02/2024 at 11:48PM