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

991 active golfers, 3467 entries

Leaderboard (lowest score wins):
12
#421 - Sherab Giovannini / @shaddycls

05/02/2019 at 09:58PM

12
#422 - eric huang / @EricGodhand4826

05/04/2019 at 07:18PM

12
#423 - Kai.Li / @KaiLi19

05/06/2019 at 03:00PM

12
#424 - David McDonald / @dmcdona

05/19/2019 at 12:33AM

12
#425 - Fiffy / @sr21486642

05/22/2019 at 07:25AM

12
#426 - mkaminaga / @mkmng3

06/07/2019 at 01:19PM

12
#427 - Seunghun Lee / @earlbread

06/12/2019 at 03:57PM

12
#428 - Foo Bar / @foobar01123

06/17/2019 at 05:06AM

12
#429 - majo senf / @majo_senf

06/17/2019 at 07:37AM

12
#430 - せいほう / @FICSQF

07/04/2019 at 02:49PM

12
#431 - Peter Demin / @peterdemin

07/11/2019 at 06:46PM

13
#432 - Louis Burke / @LambdaABeta

07/08/2015 at 05:55PM

13
#433 - Alexey Kotov / @atercat

07/23/2015 at 07:37AM

13
#434 - Mike McGowan / @mikemcgowan75

07/31/2015 at 02:50PM

13
#435 - Daniel Beck / @daniel_beck_il

08/01/2015 at 02:36PM

13
#436 - James Andy / @AndrewJamesIT

08/13/2015 at 11:52AM

13
#437 - David Perfors / @dnperfors

08/20/2015 at 07:00PM

13
#438 - KK (TheKK) / @kk_the_gamer

08/26/2015 at 11:56AM

13
#439 - Jinzhou Zhang / @jinzhouz

09/02/2015 at 07:15AM

13
#440 - Gerhard Gappmeier / @gergap

09/11/2015 at 08:14PM

13
#441 - Jon Nyman / @NymanJon

09/12/2015 at 09:57AM

13
#442 - Ronnie McCall / @RonnieMcC

09/21/2015 at 08:38PM

13
#443 - Daxin / @Daxin2010

09/26/2015 at 03:57AM

13
#444 - Joel N. / @cboar_

09/28/2015 at 12:24AM

13
#445 - Andrew Loucky / @merely_oolong

10/03/2015 at 05:09PM

13
#446 - [object Object] / @marinintim

10/16/2015 at 09:53AM

13
#447 - Roger / @enjoyheyo

10/20/2015 at 02:59AM

13
#448 - merphant / @merphant

10/22/2015 at 06:42AM

13
#449 - Ben Harris / @bharrisau

11/01/2015 at 08:00AM

13
#450 - Aaron Mininger / @AMininger

11/12/2015 at 02:07AM