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):
18
#1021 - Mendel Simon / @agentms11

12/07/2015 at 09:43PM

18
#1022 - twenty2twoss / @twenty2twoss

12/29/2015 at 06:23PM

18
#1023 - thlix / @thlix

01/09/2016 at 10:32PM

18
#1024 - 戸田 薫 / @KaoruToda

01/10/2016 at 12:32PM

18
#1025 - hammboning / @_PuttPirates_

01/14/2016 at 04:54PM

18
#1026 - Etienne Tremel / @etiennetremel

02/07/2016 at 11:34AM

18
#1027 - Bruno Vieira Costa / @bruno_vcosta

02/23/2016 at 03:15AM

18
#1028 - Zach Gulde / @zgulde

02/29/2016 at 04:58AM

18
#1029 - _xavo / @__xavo

03/01/2016 at 02:50AM

18
#1030 - David Millman / @dlmillman

06/17/2016 at 01:35PM

18
#1031 - malet / @Malet

06/22/2016 at 08:00PM

18
#1032 - Noah Gumbert / @Noahrama

07/01/2016 at 04:30AM

18
#1033 - Micha / @michman89

08/09/2016 at 12:52PM

18
#1034 - Nabarun Chatterjee / @nabarunch

08/25/2016 at 01:49PM

18
#1035 - Markus Lux / @_l0x_

01/04/2017 at 11:13AM

18
#1036 - Matt Walsh / @wattmalsh

02/03/2017 at 06:26PM

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

02/14/2017 at 02:58PM

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

04/19/2017 at 04:01PM

18
#1039 - Russell Ball / @rtball2

04/28/2017 at 08:03PM

18
#1040 - sehe / @sehetw

10/10/2017 at 02:13PM

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

12/18/2017 at 09:20PM

18
#1042 - gink / @anagiwa

01/09/2018 at 10:27AM

18
#1043 - Michael Topal / @h4ckt1c

05/02/2018 at 11:11AM

18
#1044 - Nathanael / @ngsilverman

05/09/2018 at 04:10AM

18
#1045 - William I. Olojede / @williamolojede

05/27/2018 at 11:56AM

18
#1046 - ¬¬¬ ¬¬¬ / @WLq3KGhxohrCPl1

07/09/2018 at 03:44AM

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

07/27/2018 at 02:37PM

18
#1048 - Brent Woo / @BrentPWoo

10/02/2018 at 02:38PM

18
#1049 - Gabriel Walford / @gtwalford

10/19/2018 at 07:50PM

18
#1050 - Mark Watson / @mrkrwtsn

10/19/2018 at 07:51PM