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

1016 active golfers, 3553 entries

Leaderboard (lowest score wins):
15
#601 - Durga Swaroop Perla / @durgaswaroop

02/03/2016 at 06:19PM

15
#602 - Markus Bohl / @bohl_markus

02/23/2016 at 10:46PM

15
#603 - Mikael Saltzman / @MikaelSaltzman

02/23/2016 at 11:49PM

15
#604 - Jason Choi / @joyous_jason

03/29/2016 at 08:36AM

15
#605 - Chenut Ludovic / @7Brwa7

04/01/2016 at 08:22AM

15
#606 - iikieh / @iikieh

05/07/2016 at 06:13AM

15
#607 - Pablo R. Dinella / @pablordinella

06/10/2016 at 09:03PM

15
#608 - Vaisian / @Vaisian

07/06/2016 at 05:19PM

15
#609 - Amory Schlender / @schlamory

07/08/2016 at 06:22AM

15
#610 - Thiago Belem / @TiuTalk

08/31/2016 at 03:51AM

15
#611 - Hans Yelek / @hans_yelek

01/09/2017 at 07:37AM

15
#612 - Kyouma / @kyoumaJohn

05/19/2017 at 01:50PM

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

05/25/2017 at 01:01PM

15
#614 - Brian Hall / @_bruab_

06/08/2017 at 04:23PM

15
#615 - John Smith / @johns32768

06/17/2017 at 11:23AM

15
#616 - Lukas Galke / @_lpag

06/25/2017 at 10:48PM

15
#617 - Nicu Hodoș / @NicolaeHodos

10/23/2017 at 09:19PM

15
#618 - Sam Coy / @samthecoy

11/03/2017 at 01:34PM

15
#619 - Simon Cheng / @bambooraccoon

01/15/2018 at 07:46PM

15
#620 - Max Krogius / @MaxKrogius

02/23/2018 at 10:34PM

15
#621 - Chirag Joshi / @thechijos

08/27/2018 at 05:19AM

15
#622 - daniel / @daniel31464605

09/08/2018 at 07:03PM

15
#623 - duxinxiao / @duxinxiao

09/17/2018 at 04:48AM

15
#624 - konankun / @__konankun

09/22/2018 at 01:13AM

15
#625 - prince ducaca / @prince_du_caca

09/27/2018 at 10:51PM

15
#626 - caplod / @caplod

10/31/2018 at 04:26PM

15
#627 - PJ Frazer / @pj_frazer

11/24/2018 at 08:11PM

15
#628 - MGJoe93 / @mgjoe93

03/06/2019 at 07:07PM

15
#629 - JonasS / @jonas42s

05/30/2019 at 06:41PM

15
#630 - Chris G / @AboutThatThing

06/10/2019 at 09:45AM