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

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

274 active golfers, 1010 entries

Solutions by @ahenches:
23
#47 - ahenches / @ahenches

05/11/2024 at 11:30PM

24
#>89 - ahenches / @ahenches

05/11/2024 at 11:23PM

25
#>115 - ahenches / @ahenches

05/11/2024 at 11:21PM

26
#>141 - ahenches / @ahenches

05/11/2024 at 11:09PM

27
#>162 - ahenches / @ahenches

05/11/2024 at 11:04PM

28
#>172 - ahenches / @ahenches

05/11/2024 at 11:01PM

38
#>245 - ahenches / @ahenches

05/11/2024 at 10:42PM

43
#>257 - ahenches / @ahenches

05/10/2024 at 07:54PM