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 218 remaining solutions by signing in and submitting your own entry
#219 Jake / @thejakenixon - Score: 213 - 06/21/24 @ 19:06
ji<Tab><li><Del>J<End></li><li><Esc>vhhhhhhhhylllla<CR><End><Del><End>p<BS><Esc><End>pa<Del><Left><Left><Left><Left><CR><End><Esc>pa<Del><C-Left><C-Left><Left><CR><End><Esc>pa<Del><End><Esc>p<Down>p<Down><End>p<Down>p<Down>p<Down>p<Down>p<Down>p6<Up><Up><C-Right><C-Left><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>i<CR><End><Left><End><Del><C-Left><Left><Left><Left><CR><End><Del><C-Left><Left><Left><Left><CR><End><Del><C-Left><C-Left><C-Left><Right><CR><End><Del><C-Left><Left><Left><Left><CR><End><Left><Left><Left><Left><CR><End><Del><End><Left><Left><Left><Left><CR><End><Del><End><Left><Left><Left><Left><CR><End><Del><End><BS><BS><BS><BS><Esc><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left>rD<Up>rN<Up>rO<Up>rS<Up>rA<Up>rJ<Up>rJ<Up>rM<Up>rA<Up>rM<Up>rF<Esc>:wq<CR>

0 comments


Created by: @gangelop

219 active golfers, 817 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

22
#9 - Berel94 / @Berel94

03/03/2024 at 02:27PM

22
#10 - Ilya Shakirov / @ilya-shakirov

03/07/2024 at 11:48AM

22
#11 - Mike Rayner / @mikesfake

03/09/2024 at 01:56PM

22
#12 - ttl0 / @ttl0

03/10/2024 at 02:32AM

22
#13 - Jonathan Bowman / @jbowmancargas

03/10/2024 at 11:30AM

22
#14 - NotExactlySiev / @NotExactlySiev

03/12/2024 at 12:37PM

22
#15 - 3eneliath / @3eneliath

03/14/2024 at 07:41PM

22
#16 - Kamil Laskowski / @kmlskw

03/16/2024 at 10:31AM

22
#17 - Seungho Lee / @llistnr

03/19/2024 at 01:08AM

22
#18 - AndrzejWasowski@scholar.social 🌻 🕊️ / @AndrzejWasowski

03/26/2024 at 11:07AM

22
#19 - kizotic / @kizotic

03/27/2024 at 01:16PM

22
#20 - schrjako / @schrjako

04/05/2024 at 03:50PM

22
#21 - Aly Thobani / @alythobani

04/08/2024 at 07:05PM

22
#22 - maruryota / @maruryota

04/15/2024 at 02:45AM

22
#23 - MonkieeBoi / @MonkieeBoi

04/18/2024 at 01:18PM

22
#24 - Tomek / @Madghostek

04/19/2024 at 06:00PM

22
#25 - Quentin de Andria / @QuentindeA

04/26/2024 at 07:34PM

22
#26 - Ty Kroll / @tkroll

04/29/2024 at 03:53PM

22
#27 - x03n046 / @x03n046

04/30/2024 at 09:14AM

22
#28 - John Kershaw / @johnkershaw

05/01/2024 at 07:47PM

22
#29 - Zimbu / @Zimbu

05/03/2024 at 12:38AM

22
#30 - djheidihoe / @djheidihoe1

05/03/2024 at 10:22PM