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 @3eneliath:

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

143 active golfers, 512 entries

Solutions by @3eneliath:
22
#15 - 3eneliath / @3eneliath

03/14/2024 at 07:41PM

22
#>15 - 3eneliath / @3eneliath

03/14/2024 at 07:42PM

24
#>37 - 3eneliath / @3eneliath

03/14/2024 at 07:40PM

25
#>63 - 3eneliath / @3eneliath

03/14/2024 at 07:38PM

26
#>77 - 3eneliath / @3eneliath

03/14/2024 at 07:34PM

27
#>89 - 3eneliath / @3eneliath

03/14/2024 at 07:33PM

28
#>96 - 3eneliath / @3eneliath

03/14/2024 at 07:31PM

72
#>142 - 3eneliath / @3eneliath

03/28/2024 at 10:00PM

162
#>143 - 3eneliath / @3eneliath

03/28/2024 at 09:54PM