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 559c30948ef59c0eb7000002

Collect List

Convert to comma separated list.

Start file
* item1
* item2
* item3
* item4
* item5
End file
item1,item2,item3,item4,item5

View Diff

1,5c1
< * item1
< * item2
< * item3
< * item4
< * item5
---
> item1,item2,item3,item4,item5

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 933 remaining solutions by signing in and submitting your own entry
#934 Radoslav Ivanov / @rivanov1 - Score: 89 - 09/15/15 @ 18:30
<C-V>ljjjjdqa$i,<BS><Esc><Esc><Esc>hhhhh$a,jj<BS><BS><Esc>dl<Esc><Esc>i<Esc><Esc>lla,jj<BS><BS><Esc><Esc>lj^i<BS>jj<BS><BS><Esc><Esc>qjh^i<BS>,jj<BS><BS><Esc><Esc>$j^i<BS>,<Esc><Esc>j^i<BS>,<Esc><Esc>:wq<CR>

0 comments


Created by: @compilejason

934 active golfers, 3246 entries

Leaderboard (lowest score wins):
12
#181 - Charles Laber-Smith / @clabersmith

03/11/2016 at 08:07PM

12
#182 - Yahyalexandre33 / @yahyalexandre33

03/15/2016 at 01:37AM

12
#183 - Mike G / @MikeG39938619

03/15/2016 at 02:22PM

12
#184 - Robert Mosher / @rcmosher

03/23/2016 at 09:09PM

12
#185 - Elliot Iddon / @prettybloggy

03/24/2016 at 09:28AM

12
#186 - Yanis KHORSI / @YanisKHORSI

03/25/2016 at 02:54PM

12
#187 - lilach adir / @leelaRed

03/31/2016 at 11:18AM

12
#188 - CM Déjardin ن / @CMDej

04/05/2016 at 08:13AM

12
#189 - Vaughn Cato / @vaughncato

04/07/2016 at 04:05AM

12
#190 - Matteo Signer / @MatteoSigner

04/10/2016 at 08:50PM

12
#191 - ramandeep randhawa / @rsrandhawa

04/10/2016 at 10:03PM

12
#192 - E Both / @enboth

04/13/2016 at 06:47PM

12
#193 - S O / @strangelooperer

04/17/2016 at 06:30PM

12
#194 - Jake Griffin / @J4K0_G

04/22/2016 at 11:23PM

12
#195 - Håkon Bråten / @h_braten

04/27/2016 at 06:03PM

12
#196 - Adam Collins / @adc613

04/28/2016 at 01:12AM

12
#197 - Tommy Wu / @TommyJSWu

05/02/2016 at 03:31PM

12
#198 - Eero-Antero Säisä / @jakolasku

05/02/2016 at 04:29PM

12
#199 - Luke Powell / @luxgladius

05/02/2016 at 08:04PM

12
#200 - John Goes / @johnwgoes

05/03/2016 at 07:12PM

12
#201 - alex / @4lex

05/10/2016 at 02:35AM

12
#202 - Nigel Rahkola / @NinjaRahkola

05/11/2016 at 05:27AM

12
#203 - tPenguinLTG / @tpenguinltg

05/11/2016 at 12:31PM

12
#204 - matthieu le grix / @mlegrix

05/11/2016 at 06:31PM

12
#205 - Michael Buckley / @apolatg

05/12/2016 at 08:42PM

12
#206 - Tom / @CronutFacts

05/15/2016 at 08:25PM

12
#207 - (,,꒪꒫꒪,,) / @sneer

05/21/2016 at 04:12AM

12
#208 - John Doe Sr. / @johndoe67890543

05/26/2016 at 07:50PM

12
#209 - vic © / @2r2w

05/27/2016 at 04:38PM

12
#210 - Ben Hill / @KaizenSoze70

06/05/2016 at 11:47AM