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

1025 active golfers, 3579 entries

Leaderboard (lowest score wins):
19
#961 - duyanh.y4n.pham / @PhamY4n

06/12/2019 at 02:41PM

19
#962 - Bob Ren / @bobrenjc93

08/16/2019 at 05:32PM

19
#963 - xovadirij / @xovadirij

09/22/2019 at 09:04PM

20
#964 - Anatolii Sakhnik / @sakhnik

07/22/2015 at 11:28AM

20
#965 - Will Munn / @lfsaw

08/13/2015 at 08:54PM

20
#966 - Louis Ritchie / @_louisr_

03/31/2016 at 04:38AM

20
#967 - iNaKoll / @iNaKoll

05/07/2016 at 04:52PM

20
#968 - Ryan van Rensburg / @rdvr001

07/18/2016 at 04:57PM

20
#969 - Clalani / @clalania

10/14/2016 at 11:14AM

20
#970 - Wiktor Jeziorski / @WiktorJeziorsk1

08/17/2017 at 09:38PM

20
#971 - Mohideen Imran Khan / @miknotes

04/12/2018 at 01:04PM

20
#972 - frank p / @icedearth55

05/05/2018 at 04:12PM

20
#973 - Oren Koriat / @KoriatOren

12/06/2018 at 03:36PM

20
#974 - exqt / @_exqt_

03/11/2019 at 10:53AM

20
#975 - Florian Wehner / @floweh

04/02/2019 at 02:18PM

20
#976 - john ford / @johnfor65634499

05/02/2019 at 11:25PM

20
#977 - Iggy / @iggredible

09/24/2019 at 03:02AM

21
#978 - SundaraRaman / @digital_carver

09/06/2015 at 11:31AM

21
#979 - Batuhan Bayrakçı / @bay_batu

09/20/2016 at 02:35PM

21
#980 - Fabio Branquinho / @branquif

11/08/2018 at 05:25PM

22
#981 - aisapatino / @aisapatino

07/27/2015 at 05:02AM

22
#982 - Ryan Glassett / @rollsavager

09/15/2015 at 03:57PM

22
#983 - Tj / @yrddy

02/17/2016 at 04:47AM

22
#984 - Michael Hagl / @MichaelHagl

05/02/2016 at 02:39PM

22
#985 - Lucas Scariot / @luc_4d

10/06/2017 at 08:17PM

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

08/22/2018 at 07:35PM

23
#987 - Sébastien Canart / @kokotchY

10/28/2017 at 09:33AM

23
#988 - Danila Dergachev / @daniladergachev

03/06/2018 at 10:29AM

23
#989 - z0c / @zerocabal

07/08/2018 at 09:50AM

24
#990 - 江裕诚 / @fatjyc

07/14/2015 at 02:56PM