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 1031 remaining solutions by signing in and submitting your own entry
#1032 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

1032 active golfers, 3603 entries

Leaderboard (lowest score wins):
15
#601 - Oliver Christ / @0liverChrist

10/10/2015 at 09:38PM

15
#602 - DespicableJerk / @JerkDespicable

10/17/2015 at 04:54PM

15
#603 - Anshu Avinash / @anshu_avinash

10/17/2015 at 08:49PM

15
#604 - Nick Miller / @ItsMeNickMiller

10/24/2015 at 08:15PM

15
#605 - Bogumił Kamiński / @BogumilKaminski

10/25/2015 at 05:12PM

15
#606 - Conor Ryan / @conorjryan

11/02/2015 at 07:44AM

15
#607 - Marshall Croes / @marshallcroes

11/09/2015 at 07:51PM

15
#608 - EatYourGreens / @VimTwo

11/27/2015 at 02:50PM

15
#609 - Izabel Jelenić / @IzabelJelenic

12/21/2015 at 09:25PM

15
#610 - Lindsay Swift / @_lindsai_

01/18/2016 at 06:30PM

15
#611 - Durga Swaroop Perla / @durgaswaroop

02/03/2016 at 06:19PM

15
#612 - Markus Bohl / @bohl_markus

02/23/2016 at 10:46PM

15
#613 - Mikael Saltzman / @MikaelSaltzman

02/23/2016 at 11:49PM

15
#614 - Jason Choi / @joyous_jason

03/29/2016 at 08:36AM

15
#615 - Chenut Ludovic / @7Brwa7

04/01/2016 at 08:22AM

15
#616 - iikieh / @iikieh

05/07/2016 at 06:13AM

15
#617 - Pablo R. Dinella / @pablordinella

06/10/2016 at 09:03PM

15
#618 - Vaisian / @Vaisian

07/06/2016 at 05:19PM

15
#619 - Amory Schlender / @schlamory

07/08/2016 at 06:22AM

15
#620 - Thiago Belem / @TiuTalk

08/31/2016 at 03:51AM

15
#621 - Hans Yelek / @hans_yelek

01/09/2017 at 07:37AM

15
#622 - Kyouma / @kyoumaJohn

05/19/2017 at 01:50PM

15
#623 - ʀǟɦʊʟ ɮɦօʟǟ / @theRahulBhola

05/25/2017 at 01:01PM

15
#624 - Brian Hall / @_bruab_

06/08/2017 at 04:23PM

15
#625 - John Smith / @johns32768

06/17/2017 at 11:23AM

15
#626 - Lukas Galke / @_lpag

06/25/2017 at 10:48PM

15
#627 - Nicu Hodoș / @NicolaeHodos

10/23/2017 at 09:19PM

15
#628 - Sam Coy / @samthecoy

11/03/2017 at 01:34PM

15
#629 - Simon Cheng / @bambooraccoon

01/15/2018 at 07:46PM

15
#630 - Max Krogius / @MaxKrogius

02/23/2018 at 10:34PM