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

1052 active golfers, 3678 entries

Leaderboard (lowest score wins):
17
#811 - Gerald Tilma / @GeraldTilma

10/18/2015 at 01:17AM

17
#812 - Adrian Koczy / @adriankoczy

10/26/2015 at 02:02PM

17
#813 - Arthur Brown / @skeidsberget

11/05/2015 at 05:02PM

17
#814 - Andreas Dlgvbiz / @dlgvbiz

11/23/2015 at 03:36AM

17
#815 - Holden Lewis / @lonnez90

12/02/2015 at 10:00PM

17
#816 - Li Nuo / @li_nuo

12/11/2015 at 09:13AM

17
#817 - adrien frediani / @fredianiadrien

12/13/2015 at 08:48PM

17
#818 - andrei / @CebotariAndrei

12/27/2015 at 04:50PM

17
#819 - retro / @tryphopp

01/11/2016 at 12:33AM

17
#820 - Antoine Brunet / @AntoineBrunet

01/11/2016 at 08:58PM

17
#821 - Laurent Atlan / @laurentatlan1

01/11/2016 at 11:09PM

17
#822 - Kayne West / @portal_narlish

02/25/2016 at 07:32AM

17
#823 - Michel Ganguin / @tinycrazyfish

03/03/2016 at 09:49AM

17
#824 - Roland Hougs / @OminousWater

03/14/2016 at 07:53PM

17
#825 - John Corcoran / @JohnJ_Corcoran

03/20/2016 at 07:12PM

17
#826 - Lauren Scott / @devdame

03/28/2016 at 09:11PM

17
#827 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 12:57PM

17
#828 - abhinavgujjar / @abhinavgujjar

04/13/2016 at 04:41PM

17
#829 - Tallak Tveide / @tallakt

04/22/2016 at 11:10AM

17
#830 - Matt Clement / @zetaspartan2552

05/03/2016 at 04:28PM

17
#831 - Andres Araya / @arayaandresfco

05/14/2016 at 02:28AM

17
#832 - Victorien Lorcy / @LorcyVictorien

05/29/2016 at 08:50PM

17
#833 - Alexandre Lion / @lnalx

06/06/2016 at 12:15PM

17
#834 - Sanjay / @patelsan

06/19/2016 at 03:54PM

17
#835 - Jonathan Werner / @jonathanewerner

07/09/2016 at 04:46PM

17
#836 - André Peric Tavares / @andre_peric

07/20/2016 at 07:30PM

17
#837 - Herbert S. / @herbertshlong

08/04/2016 at 05:21PM

17
#838 - George Angelopoulos / @g_usermod

08/06/2016 at 11:54AM

17
#839 - citaret / @citaret

08/26/2016 at 03:24AM

17
#840 - Richard O'Brien / @richard0b

08/28/2016 at 03:09AM