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

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

143 active golfers, 512 entries

Solutions by @jbowmancargas:
22
#13 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 11:30AM

23
#>21 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 11:16AM

24
#>37 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 11:13AM

25
#>62 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 11:12AM

26
#>77 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 11:00AM

30
#>107 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 10:55AM

31
#>112 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 10:39AM

35
#>119 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 10:05AM

38
#>124 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 09:55AM

45
#>134 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 12:19AM