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):
16
#691 - Antony Garand / @AntoGarand

02/24/2016 at 09:57PM

16
#692 - Wolfe / @InteriorWolfe

02/27/2016 at 06:11AM

16
#693 - Mike Chen / @chagel

03/07/2016 at 04:21AM

16
#694 - glepha / @glepha_vim

03/31/2016 at 02:04AM

16
#695 - T. Sakuma / @taku39

04/29/2016 at 01:44PM

16
#696 - some call me mattp / @mattpep

05/12/2016 at 08:57PM

16
#697 - Kerry Todyruik / @KTodyruik

05/18/2016 at 01:20AM

16
#698 - niels aamloos / @AamloosNiels

05/28/2016 at 02:37PM

16
#699 - Russell Endicott / @bitester

06/28/2016 at 09:30PM

16
#700 - Alejandro Claro / @alejandroclaro

07/13/2016 at 11:32PM

16
#701 - Dan Madden / @guthran

07/15/2016 at 02:26PM

16
#702 - Imre Kerr / @imre_kerr

07/28/2016 at 10:26AM

16
#703 - Baptiste Vannesson / @Badacadabra

08/26/2016 at 06:11PM

16
#704 - Utkrisht Dhankar / @UtkrishtDhankar

09/08/2016 at 04:51AM

16
#705 - RAM13 / @cbcvbcxvbcxvb

10/28/2016 at 10:32AM

16
#706 - Brian Phelps / @electronjunkie

11/06/2016 at 04:42PM

16
#707 - Apox / @apox159

11/27/2016 at 12:07PM

16
#708 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 03:57PM

16
#709 - Michael Hoffmann / @micha66545852

02/28/2017 at 04:10PM

16
#710 - Mitchell / @Spitchell

03/15/2017 at 03:41PM

16
#711 - Tiago E. Triques / @tiagotriques

03/28/2017 at 04:47PM

16
#712 - Kevin K / @okkays

04/18/2017 at 04:14PM

16
#713 - IgnatiusMcGowan / @IgnatiusMcGowan

05/23/2017 at 11:35PM

16
#714 - Adam Bozanich / @abozanich

06/08/2017 at 04:46AM

16
#715 - fridjo / @frozenfrid

06/20/2017 at 09:13PM

16
#716 - Mayank Suman / @mayank_suman

06/25/2017 at 02:37PM

16
#717 - Stop and think / @ms_uncountable

07/07/2017 at 11:33PM

16
#718 - Paul Sonkoly / @Phaul

09/05/2017 at 10:30AM

16
#719 - ybark / @ybark

09/27/2017 at 02:59PM

16
#720 - h43z / @h43z

10/03/2017 at 11:29PM