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

1114 active golfers, 3962 entries

Leaderboard (lowest score wins):
16
#751 - Phil Ting / @philipjting

11/15/2015 at 06:08AM

16
#752 - Stanislav Nikolov / @stanislavLTB

11/17/2015 at 09:37AM

16
#753 - Jakob Schöttl / @jschoettl

12/21/2015 at 02:31AM

16
#754 - Cody Callahan / @imnicuhtine

12/29/2015 at 05:24PM

16
#755 - Austin Wood / @indiesquidge

01/16/2016 at 04:44PM

16
#756 - Antony Garand / @AntoGarand

02/24/2016 at 09:57PM

16
#757 - Wolfe / @InteriorWolfe

02/27/2016 at 06:11AM

16
#758 - Mike Chen / @chagel

03/07/2016 at 04:21AM

16
#759 - glepha / @glepha_vim

03/31/2016 at 02:04AM

16
#760 - T. Sakuma / @taku39

04/29/2016 at 01:44PM

16
#761 - some call me mattp / @mattpep

05/12/2016 at 08:57PM

16
#762 - Kerry Todyruik / @KTodyruik

05/18/2016 at 01:20AM

16
#763 - niels aamloos / @AamloosNiels

05/28/2016 at 02:37PM

16
#764 - Russell Endicott / @bitester

06/28/2016 at 09:30PM

16
#765 - Alejandro Claro / @alejandroclaro

07/13/2016 at 11:32PM

16
#766 - Dan Madden / @guthran

07/15/2016 at 02:26PM

16
#767 - Imre Kerr / @imre_kerr

07/28/2016 at 10:26AM

16
#768 - Baptiste Vannesson / @Badacadabra

08/26/2016 at 06:11PM

16
#769 - Utkrisht Dhankar / @UtkrishtDhankar

09/08/2016 at 04:51AM

16
#770 - RAM13 / @cbcvbcxvbcxvb

10/28/2016 at 10:32AM

16
#771 - This is a sniff free zone / @electronjunkie

11/06/2016 at 04:42PM

16
#772 - Apox / @apox159

11/27/2016 at 12:07PM

16
#773 - Marcel Akkerman / @MarcelAkkerman

12/21/2016 at 03:57PM

16
#774 - Michael Hoffmann / @micha66545852

02/28/2017 at 04:10PM

16
#775 - Mitchell / @Spitchell

03/15/2017 at 03:41PM

16
#776 - Tiago E. Triques / @tiagotriques

03/28/2017 at 04:47PM

16
#777 - Kevin K / @okkays

04/18/2017 at 04:14PM

16
#778 - IgnatiusMcGowan / @IgnatiusMcGowan

05/23/2017 at 11:35PM

16
#779 - Adam Bozanich / @abozanich

06/08/2017 at 04:46AM

16
#780 - fridjo / @frozenfrid

06/20/2017 at 09:13PM