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

1053 active golfers, 3684 entries

Leaderboard (lowest score wins):
18
#931 - Etienne Tremel / @etiennetremel

02/07/2016 at 11:34AM

18
#932 - Bruno Vieira Costa / @bruno_vcosta

02/23/2016 at 03:15AM

18
#933 - Zach Gulde / @zgulde

02/29/2016 at 04:58AM

18
#934 - _xavo / @__xavo

03/01/2016 at 02:50AM

18
#935 - David Millman / @dlmillman

06/17/2016 at 01:35PM

18
#936 - malet / @Malet

06/22/2016 at 08:00PM

18
#937 - Noah Gumbert / @Noahrama

07/01/2016 at 04:30AM

18
#938 - Micha / @michman89

08/09/2016 at 12:52PM

18
#939 - Nabarun Chatterjee / @nabarunch

08/25/2016 at 01:49PM

18
#940 - Markus Lux / @_l0x_

01/04/2017 at 11:13AM

18
#941 - Matt Walsh / @wattmalsh

02/03/2017 at 06:26PM

18
#942 - Cù Hữu Hoàng / @Cuhuuhoang

02/14/2017 at 02:58PM

18
#943 - Aurélien Hervé / @aurel_herve

04/19/2017 at 04:01PM

18
#944 - Russell Ball / @rtball2

04/28/2017 at 08:03PM

18
#945 - sehe / @sehetw

10/10/2017 at 02:13PM

18
#946 - Михаил Сурин / @realssmike

12/18/2017 at 09:20PM

18
#947 - gink / @anagiwa

01/09/2018 at 10:27AM

18
#948 - Michael Topal / @h4ckt1c

05/02/2018 at 11:11AM

18
#949 - Nathanael / @ngsilverman

05/09/2018 at 04:10AM

18
#950 - William I. Olojede / @williamolojede

05/27/2018 at 11:56AM

18
#951 - ¬¬¬ ¬¬¬ / @WLq3KGhxohrCPl1

07/09/2018 at 03:44AM

18
#952 - Just...That / @I_am_JustThat

07/27/2018 at 02:37PM

18
#953 - Brent Woo / @BrentPWoo

10/02/2018 at 02:38PM

18
#954 - Gabriel Walford / @gtwalford

10/19/2018 at 07:50PM

18
#955 - Mark Watson / @mrkrwtsn

10/19/2018 at 07:51PM

18
#956 - ʎɐɹ / @staticjak

10/19/2018 at 08:21PM

18
#957 - Chris Maher / @chrismaherthe

11/15/2018 at 04:15PM

18
#958 - band / @band26376522

12/09/2018 at 12:03AM

18
#959 - Sondre Lunde / @SondreSL

12/30/2018 at 11:59AM

18
#960 - Marcio M Pereira / @iviarcio

12/30/2018 at 01:15PM