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

1039 active golfers, 3634 entries

Leaderboard (lowest score wins):
17
#811 - Laurent Atlan / @laurentatlan1

01/11/2016 at 11:09PM

17
#812 - Kayne West / @portal_narlish

02/25/2016 at 07:32AM

17
#813 - Michel Ganguin / @tinycrazyfish

03/03/2016 at 09:49AM

17
#814 - Roland Hougs / @OminousWater

03/14/2016 at 07:53PM

17
#815 - John Corcoran / @JohnJ_Corcoran

03/20/2016 at 07:12PM

17
#816 - Lauren Scott / @devdame

03/28/2016 at 09:11PM

17
#817 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 12:57PM

17
#818 - abhinavgujjar / @abhinavgujjar

04/13/2016 at 04:41PM

17
#819 - Tallak Tveide / @tallakt

04/22/2016 at 11:10AM

17
#820 - Matt Clement / @zetaspartan2552

05/03/2016 at 04:28PM

17
#821 - Andres Araya / @arayaandresfco

05/14/2016 at 02:28AM

17
#822 - Victorien Lorcy / @LorcyVictorien

05/29/2016 at 08:50PM

17
#823 - Alexandre Lion / @lnalx

06/06/2016 at 12:15PM

17
#824 - Sanjay / @patelsan

06/19/2016 at 03:54PM

17
#825 - Jonathan Werner / @jonathanewerner

07/09/2016 at 04:46PM

17
#826 - André Peric Tavares / @andre_peric

07/20/2016 at 07:30PM

17
#827 - Herbert S. / @herbertshlong

08/04/2016 at 05:21PM

17
#828 - George Angelopoulos / @g_usermod

08/06/2016 at 11:54AM

17
#829 - citaret / @citaret

08/26/2016 at 03:24AM

17
#830 - Richard O'Brien / @richard0b

08/28/2016 at 03:09AM

17
#831 - Constantine / @ConstantineHatz

09/15/2016 at 10:10PM

17
#832 - TweetDreams / @TweetMusicians

10/08/2016 at 05:37PM

17
#833 - Jonathan Elliott / @jon__elliott

10/29/2016 at 11:44PM

17
#834 - Simon Plantinga / @SimonPlantinga

10/30/2016 at 12:04PM

17
#835 - Chris Cummings / @mistahcummings

10/31/2016 at 01:08AM

17
#836 - John Barbero Unenge / @JBarberU

11/09/2016 at 02:06PM

17
#837 - Markus Bala / @bala4901

11/17/2016 at 01:37AM

17
#838 - Sergio / @voyeg3r

11/24/2016 at 11:14AM

17
#839 - Florian Vallen / @florianvallen

12/04/2016 at 11:16AM

17
#840 - holy_sin / @0zero0

12/12/2016 at 02:53AM