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

1160 active golfers, 4149 entries

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

06/12/2019 at 02:41PM

19
#1082 - Bob Ren / @bobrenjc93

08/16/2019 at 05:32PM

19
#1083 - xovadirij / @xovadirij

09/22/2019 at 09:04PM

19
#1084 - Coby Drexler / @CobyDrexler

01/09/2020 at 02:33AM

19
#1085 - vito / @vito49999722

09/04/2020 at 05:51PM

19
#1086 - Gaganpreet / @_gagan

10/04/2020 at 02:03PM

19
#1087 - Scott Traver / @ScottTraver

01/12/2021 at 10:40PM

20
#1088 - Anatolii Sakhnik / @sakhnik

07/22/2015 at 11:28AM

20
#1089 - Will Munn / @lfsaw

08/13/2015 at 08:54PM

20
#1090 - Louis Ritchie / @_louisr_

03/31/2016 at 04:38AM

20
#1091 - iNaKoll / @iNaKoll

05/07/2016 at 04:52PM

20
#1092 - Ryan van Rensburg / @rdvr001

07/18/2016 at 04:57PM

20
#1093 - Clalani / @clalania

10/14/2016 at 11:14AM

20
#1094 - Wiktor Jeziorski / @WiktorJeziorsk1

08/17/2017 at 09:38PM

20
#1095 - Mohideen Imran Khan / @miknotes

04/12/2018 at 01:04PM

20
#1096 - frank p / @icedearth55

05/05/2018 at 04:12PM

20
#1097 - Oren Koriat / @KoriatOren

12/06/2018 at 03:36PM

20
#1098 - exqt / @_exqt_

03/11/2019 at 10:53AM

20
#1099 - Florian Wehner / @floweh

04/02/2019 at 02:18PM

20
#1100 - john ford / @johnfor65634499

05/02/2019 at 11:25PM

20
#1101 - Iggy / @iggredible

09/24/2019 at 03:02AM

20
#1102 - Akshay Aurora / @akshayaurora

02/12/2020 at 06:43PM

20
#1103 - P37vo4WS / @p37vo4

12/30/2020 at 12:47PM

21
#1104 - SundaraRaman / @digital_carver

09/06/2015 at 11:31AM

21
#1105 - Batuhan Bayrakçı / @bay_batu

09/20/2016 at 02:35PM

21
#1106 - Fabio Branquinho / @branquif

11/08/2018 at 05:25PM

21
#1107 - background extra in a nightmare / @56khole

12/22/2020 at 08:15AM

22
#1108 - aisapatino / @aisapatino

07/27/2015 at 05:02AM

22
#1109 - Ryan Glassett / @rollsavager

09/15/2015 at 03:57PM

22
#1110 - Tj / @yrddy

02/17/2016 at 04:47AM