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):
16
#691 - Dian Xiao / @dian_xiao

10/12/2015 at 02:40AM

16
#692 - ɐʇnɥsɐpoʇ / @todashuta

10/12/2015 at 01:07PM

16
#693 - Chuck Newport / @swap_chuck

10/14/2015 at 06:15PM

16
#694 - mnx / @mnxx

10/15/2015 at 12:00PM

16
#695 - Simon Dudley / @psy__phi

10/22/2015 at 01:24PM

16
#696 - ささ / @sk_sn

10/23/2015 at 04:15AM

16
#697 - Gleb Kh / @GlebKh

10/24/2015 at 05:35AM

16
#698 - Shobhit Gupta / @shobhitg

10/25/2015 at 01:32PM

16
#699 - Phil Ting / @philipjting

11/15/2015 at 06:08AM

16
#700 - Stanislav Nikolov / @stanislavLTB

11/17/2015 at 09:37AM

16
#701 - Jakob Schöttl / @jschoettl

12/21/2015 at 02:31AM

16
#702 - Cody Callahan / @imnicuhtine

12/29/2015 at 05:24PM

16
#703 - Austin Wood / @indiesquidge

01/16/2016 at 04:44PM

16
#704 - Antony Garand / @AntoGarand

02/24/2016 at 09:57PM

16
#705 - Wolfe / @InteriorWolfe

02/27/2016 at 06:11AM

16
#706 - Mike Chen / @chagel

03/07/2016 at 04:21AM

16
#707 - glepha / @glepha_vim

03/31/2016 at 02:04AM

16
#708 - T. Sakuma / @taku39

04/29/2016 at 01:44PM

16
#709 - some call me mattp / @mattpep

05/12/2016 at 08:57PM

16
#710 - Kerry Todyruik / @KTodyruik

05/18/2016 at 01:20AM

16
#711 - niels aamloos / @AamloosNiels

05/28/2016 at 02:37PM

16
#712 - Russell Endicott / @bitester

06/28/2016 at 09:30PM

16
#713 - Alejandro Claro / @alejandroclaro

07/13/2016 at 11:32PM

16
#714 - Dan Madden / @guthran

07/15/2016 at 02:26PM

16
#715 - Imre Kerr / @imre_kerr

07/28/2016 at 10:26AM

16
#716 - Baptiste Vannesson / @Badacadabra

08/26/2016 at 06:11PM

16
#717 - Utkrisht Dhankar / @UtkrishtDhankar

09/08/2016 at 04:51AM

16
#718 - RAM13 / @cbcvbcxvbcxvb

10/28/2016 at 10:32AM

16
#719 - Brian Phelps / @electronjunkie

11/06/2016 at 04:42PM

16
#720 - Apox / @apox159

11/27/2016 at 12:07PM