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

1039 active golfers, 3634 entries

Leaderboard (lowest score wins):
19
#961 - manfred knapp / @fred_pooshka

12/10/2015 at 10:06PM

19
#962 - aashiq / @aashiq

01/12/2016 at 08:15AM

19
#963 - ゾーブフィッシュ / @zorbfish

03/07/2016 at 01:38AM

19
#964 - Joe McKenney / @mckenney00

03/19/2016 at 05:43AM

19
#965 - Jonathan / @jmcphers

08/16/2016 at 08:02PM

19
#966 - Ryan Coopersmith / @RyanCoopersmit1

06/04/2017 at 09:24PM

19
#967 - Marcin Paliwoda / @eukaliptuss

08/25/2017 at 02:25PM

19
#968 - BPD / @brian_doyle

11/11/2017 at 03:33PM

19
#969 - Daniel de Vries / @devries_d

02/07/2018 at 04:04PM

19
#970 - Austin Ware / @AustinWare17

03/12/2018 at 07:35PM

19
#971 - William Hamilton / @BobHamiltonijk

05/26/2018 at 02:54AM

19
#972 - Pompo Stenberg / @pompost

09/28/2018 at 06:16PM

19
#973 - Jonathan / @jberglinds

03/14/2019 at 03:30PM

19
#974 - duyanh.y4n.pham / @PhamY4n

06/12/2019 at 02:41PM

19
#975 - Bob Ren / @bobrenjc93

08/16/2019 at 05:32PM

19
#976 - xovadirij / @xovadirij

09/22/2019 at 09:04PM

20
#977 - Anatolii Sakhnik / @sakhnik

07/22/2015 at 11:28AM

20
#978 - Will Munn / @lfsaw

08/13/2015 at 08:54PM

20
#979 - Louis Ritchie / @_louisr_

03/31/2016 at 04:38AM

20
#980 - iNaKoll / @iNaKoll

05/07/2016 at 04:52PM

20
#981 - Ryan van Rensburg / @rdvr001

07/18/2016 at 04:57PM

20
#982 - Clalani / @clalania

10/14/2016 at 11:14AM

20
#983 - Wiktor Jeziorski / @WiktorJeziorsk1

08/17/2017 at 09:38PM

20
#984 - Mohideen Imran Khan / @miknotes

04/12/2018 at 01:04PM

20
#985 - frank p / @icedearth55

05/05/2018 at 04:12PM

20
#986 - Oren Koriat / @KoriatOren

12/06/2018 at 03:36PM

20
#987 - exqt / @_exqt_

03/11/2019 at 10:53AM

20
#988 - Florian Wehner / @floweh

04/02/2019 at 02:18PM

20
#989 - john ford / @johnfor65634499

05/02/2019 at 11:25PM

20
#990 - Iggy / @iggredible

09/24/2019 at 03:02AM