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

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 53 remaining solutions by signing in and submitting your own entry
#54 Zizheng Wong / @zizhengWong - Score: 94 - 02/18/24 @ 13:19
<Esc><Esc>j<Esc>kjq1i<li><Esc>A</li><Esc>F<Esc>3b~j01q11@1gg13jgg11j<Esc>ggj<C-V>11ji<Tab>I<Tab><Esc>uv<Esc><C-V>11jI<Tab><Esc><Esc>uvjj9ji<Tab>I<Tab><Esc>jk<Esc>u<C-V>11jI<Tab><Esc>:wq<CR>

0 comments


Created by: @gangelop

54 active golfers, 171 entries

Leaderboard (lowest score wins):
22
#1 - Danilo J. S. Bellini 🥊🇧🇷 / @danilobellini

02/11/2024 at 07:05AM

22
#2 - RiskyDissonance / @riskydissonance

02/12/2024 at 10:28AM

22
#3 - ya-suke / @ysxninja

02/12/2024 at 06:23PM

22
#4 - John Braxler / @braxler

02/15/2024 at 02:11PM

22
#5 - Jean George / @JeanGeo20504212

02/17/2024 at 11:17PM

22
#6 - Pablo Cárdenas / @pablo_cardenasb

02/28/2024 at 05:34AM

22
#7 - KeremKoksal / @KeremKoksal

02/29/2024 at 09:12AM

22
#8 - jeffreymrussell / @jeffreymrussell

03/01/2024 at 11:42AM

24
#9 - Nazar / @Tokarak

02/11/2024 at 12:37AM

24
#10 - dehi / @dehidehidehi

02/11/2024 at 06:45PM

24
#11 - Irakli Chigvaria / @tchigvaria

02/13/2024 at 03:35PM

24
#12 - jonas-grobe / @jonas-grobe

02/16/2024 at 04:29PM

24
#13 - Sebastian Steenssøe / @VildMedPap

02/16/2024 at 10:28PM

24
#14 - Tinko Minko / @tandikula

02/17/2024 at 07:39AM

24
#15 - Trewornan / @Trewornan

02/20/2024 at 03:42PM

24
#16 - pajamaman7 aka tommyBuckets / @pajamaman7

02/22/2024 at 06:50PM

24
#17 - Kristóf Cserpes / @KriCse

02/25/2024 at 03:24PM

24
#18 - gFffdhg6UX3ceYvTsLms / @gFffdhg6UX3ceYvTsLms

02/27/2024 at 04:45PM

24
#19 - Alex / @AlexanderHeatl2

02/28/2024 at 03:13AM

24
#20 - Ryo_Ishimoto / @RIshimoto

03/02/2024 at 07:48AM

24
#21 - wh1te-star / @wh1te-star

03/02/2024 at 08:40AM

25
#22 - Matthew Finlayson / @mattf1n

02/12/2024 at 04:45PM

25
#23 - Smylers / @Smylers2

02/12/2024 at 10:31PM

25
#24 - djheidihoe / @djheidihoe1

02/15/2024 at 08:29AM

25
#25 - Gabriel Augendre / @Crocmagnon

02/15/2024 at 11:45PM

25
#26 - Wonung Kim / @waneon

02/20/2024 at 10:14AM

25
#27 - shikitanrei / @shikitanrei

02/28/2024 at 01:19PM

26
#28 - George Angelopoulos / @gangelop

02/10/2024 at 06:25PM

26
#29 - ysxninja / @ysxninja

02/12/2024 at 04:59PM

26
#30 - Penbu / @penbuvt

02/16/2024 at 01:11AM