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

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

274 active golfers, 1008 entries

Solutions by @mikesfake:
22
#11 - Mike Rayner / @mikesfake

03/09/2024 at 01:56PM

24
#>68 - Mike Rayner / @mikesfake

03/09/2024 at 01:45PM

25
#>103 - Mike Rayner / @mikesfake

03/09/2024 at 01:42PM

26
#>133 - Mike Rayner / @mikesfake

03/09/2024 at 01:41PM

27
#>155 - Mike Rayner / @mikesfake

03/09/2024 at 01:40PM

28
#>169 - Mike Rayner / @mikesfake

03/09/2024 at 01:38PM

29
#>186 - Mike Rayner / @mikesfake

03/09/2024 at 01:37PM

34
#>228 - Mike Rayner / @mikesfake

03/09/2024 at 01:34PM

35
#>230 - Mike Rayner / @mikesfake

03/09/2024 at 01:33PM

39
#>247 - Mike Rayner / @mikesfake

03/09/2024 at 01:32PM

42
#>256 - Mike Rayner / @mikesfake

03/09/2024 at 07:40AM

46
#>261 - Mike Rayner / @mikesfake

03/09/2024 at 07:34AM