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

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

255 active golfers, 958 entries

Solutions by @ttl0:
22
#12 - ttl0 / @ttl0

03/10/2024 at 02:32AM

24
#>63 - ttl0 / @ttl0

03/10/2024 at 02:31AM

25
#>98 - ttl0 / @ttl0

03/10/2024 at 02:13AM

25
#>98 - ttl0 / @ttl0

03/10/2024 at 02:19AM

26
#>126 - ttl0 / @ttl0

03/10/2024 at 02:10AM

29
#>175 - ttl0 / @ttl0

03/10/2024 at 02:06AM

34
#>213 - ttl0 / @ttl0

03/10/2024 at 02:04AM

41
#>239 - ttl0 / @ttl0

03/10/2024 at 01:59AM

43
#>239 - ttl0 / @ttl0

03/10/2024 at 01:36AM

80
#>253 - ttl0 / @ttl0

03/10/2024 at 01:32AM