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):
15
#511 - Steve Tjoa / @stevetjoa

07/07/2015 at 08:44PM

15
#512 - Lifepillar / @lifepillar

07/08/2015 at 08:24AM

15
#513 - Zsolt Fekete / @feketezsolt

07/08/2015 at 04:50PM

15
#514 - Agostino Hernandez / @vimagostino

07/08/2015 at 06:03PM

15
#515 - teilersumme / @teilersumme

07/08/2015 at 11:29PM

15
#516 - François Marais / @maraisf

07/10/2015 at 07:54PM

15
#517 - Marcelo Montu / @_mMontu_

07/16/2015 at 04:35PM

15
#518 - Evan Coleman / @edc1591

07/16/2015 at 04:51PM

15
#519 - Carlos / @lemonpan

07/17/2015 at 01:22PM

15
#520 - Eduardo Antunes / @ecsousa

07/17/2015 at 01:47PM

15
#521 - aze / @aze_rg

07/20/2015 at 05:46AM

15
#522 - Dan Piponi / @sigfpe

07/20/2015 at 09:27PM

15
#523 - codegourmet / @codegourmet

07/22/2015 at 12:56PM

15
#524 - Leo Mehr / @LeoMehr

07/30/2015 at 05:58PM

15
#525 - Roben Kleene / @robenkleene

07/30/2015 at 08:07PM

15
#526 - Hervé Rouault / @hrouault

07/31/2015 at 10:36PM

15
#527 - Eduardo / @earada

08/02/2015 at 04:14AM

15
#528 - Mikołaj Morzy / @MikolajMorzy

08/03/2015 at 02:30PM

15
#529 - Dave Neary / @nearyd

08/12/2015 at 10:38PM

15
#530 - Gafton Paul / @Paul9222

08/17/2015 at 02:28AM

15
#531 - Dennis Burke / @ikirudennis

08/23/2015 at 05:32AM

15
#532 - Jesse Atkinson / @jsatk

08/28/2015 at 12:33AM

15
#533 - Restroom Sounds / @RestroomSounds

09/04/2015 at 06:52AM

15
#534 - Irina Crystal / @irina_crystal

09/08/2015 at 07:22PM

15
#535 - jek lueps / @MoistFlex

09/14/2015 at 02:25PM

15
#536 - Alexander Pankratov / @nonuBKy

09/15/2015 at 03:13PM

15
#537 - Darren Tsung / @darrentsung

10/02/2015 at 11:59PM

15
#538 - No Holiness / @NoHoliness

10/03/2015 at 07:20AM

15
#539 - Domingue Justin / @_jdomingue

10/08/2015 at 05:38PM

15
#540 - Oliver Christ / @0liverChrist

10/10/2015 at 09:38PM