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):
20
#991 - Will Munn / @lfsaw

08/13/2015 at 08:54PM

20
#992 - Louis Ritchie / @_louisr_

03/31/2016 at 04:38AM

20
#993 - iNaKoll / @iNaKoll

05/07/2016 at 04:52PM

20
#994 - Ryan van Rensburg / @rdvr001

07/18/2016 at 04:57PM

20
#995 - Clalani / @clalania

10/14/2016 at 11:14AM

20
#996 - Wiktor Jeziorski / @WiktorJeziorsk1

08/17/2017 at 09:38PM

20
#997 - Mohideen Imran Khan / @miknotes

04/12/2018 at 01:04PM

20
#998 - frank p / @icedearth55

05/05/2018 at 04:12PM

20
#999 - Oren Koriat / @KoriatOren

12/06/2018 at 03:36PM

20
#1000 - exqt / @_exqt_

03/11/2019 at 10:53AM

20
#1001 - Florian Wehner / @floweh

04/02/2019 at 02:18PM

20
#1002 - john ford / @johnfor65634499

05/02/2019 at 11:25PM

20
#1003 - Iggy / @iggredible

09/24/2019 at 03:02AM

21
#1004 - SundaraRaman / @digital_carver

09/06/2015 at 11:31AM

21
#1005 - Batuhan Bayrakçı / @bay_batu

09/20/2016 at 02:35PM

21
#1006 - Fabio Branquinho / @branquif

11/08/2018 at 05:25PM

22
#1007 - aisapatino / @aisapatino

07/27/2015 at 05:02AM

22
#1008 - Ryan Glassett / @rollsavager

09/15/2015 at 03:57PM

22
#1009 - Tj / @yrddy

02/17/2016 at 04:47AM

22
#1010 - Michael Hagl / @MichaelHagl

05/02/2016 at 02:39PM

22
#1011 - Lucas / @luc_4d

10/06/2017 at 08:17PM

22
#1012 - Víctor López / @viticlick

08/22/2018 at 07:35PM

23
#1013 - Sébastien Canart / @kokotchY

10/28/2017 at 09:33AM

23
#1014 - Danila Dergachev / @daniladergachev

03/06/2018 at 10:29AM

23
#1015 - z0c / @zerocabal

07/08/2018 at 09:50AM

24
#1016 - 江裕诚 / @fatjyc

07/14/2015 at 02:56PM

24
#1017 - Feras / @faldah

04/24/2016 at 09:48PM

24
#1018 - Cleberson Gomes / @Cleber_son

08/19/2018 at 08:28PM

24
#1019 - Jurica / @Jurica34581259

11/15/2018 at 12:13AM

24
#1020 - Adrien / @beudbeud

08/09/2019 at 08:57PM