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

1167 active golfers, 4184 entries

Leaderboard (lowest score wins):
17
#901 - Andreas Dlgvbiz / @dlgvbiz

11/23/2015 at 03:36AM

17
#902 - Holden Lewis / @lonnez90

12/02/2015 at 10:00PM

17
#903 - Li Nuo / @li_nuo

12/11/2015 at 09:13AM

17
#904 - adrien frediani / @fredianiadrien

12/13/2015 at 08:48PM

17
#905 - andrei / @CebotariAndrei

12/27/2015 at 04:50PM

17
#906 - retro / @tryphopp

01/11/2016 at 12:33AM

17
#907 - Antoine Brunet / @AntoineBrunet

01/11/2016 at 08:58PM

17
#908 - Laurent Atlan / @laurentatlan1

01/11/2016 at 11:09PM

17
#909 - Kayne West / @portal_narlish

02/25/2016 at 07:32AM

17
#910 - Michel Ganguin / @tinycrazyfish

03/03/2016 at 09:49AM

17
#911 - Roland Hougs / @roland_b_h

03/14/2016 at 07:53PM

17
#912 - John Corcoran / @JohnJ_Corcoran

03/20/2016 at 07:12PM

17
#913 - Lauren Scott / @devdame

03/28/2016 at 09:11PM

17
#914 - Dinesh Bhosale / @MrDineshBhosale

03/30/2016 at 12:57PM

17
#915 - abhinavgujjar / @abhinavgujjar

04/13/2016 at 04:41PM

17
#916 - Tallak Tveide / @tallakt

04/22/2016 at 11:10AM

17
#917 - Matt Clement / @zetaspartan2552

05/03/2016 at 04:28PM

17
#918 - Andres Araya / @arayaandresfco

05/14/2016 at 02:28AM

17
#919 - Victorien Lorcy / @LorcyVictorien

05/29/2016 at 08:50PM

17
#920 - Alexandre Lion / @lnalx

06/06/2016 at 12:15PM

17
#921 - Sanjay / @patelsan

06/19/2016 at 03:54PM

17
#922 - Jonathan Werner / @jonathanewerner

07/09/2016 at 04:46PM

17
#923 - André Peric Tavares / @andre_peric

07/20/2016 at 07:30PM

17
#924 - Herbert S. / @herbertshlong

08/04/2016 at 05:21PM

17
#925 - George Angelopoulos / @g_usermod

08/06/2016 at 11:54AM

17
#926 - citaret / @citaret

08/26/2016 at 03:24AM

17
#927 - Richard O'Brien / @richard0b

08/28/2016 at 03:09AM

17
#928 - Constantine / @ConstantineHatz

09/15/2016 at 10:10PM

17
#929 - TweetDreams / @TweetMusicians

10/08/2016 at 05:37PM

17
#930 - Jonathan Elliott / @jon__elliott

10/29/2016 at 11:44PM