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

1169 active golfers, 4190 entries

Leaderboard (lowest score wins):
20
#1111 - Akshay Aurora / @akshayaurora

02/12/2020 at 06:43PM

20
#1112 - P37vo4WS / @p37vo4

12/30/2020 at 12:47PM

21
#1113 - SundaraRaman / @digital_carver

09/06/2015 at 11:31AM

21
#1114 - Batuhan Bayrakçı / @bay_batu

09/20/2016 at 02:35PM

21
#1115 - Fabio Branquinho / @branquif

11/08/2018 at 05:25PM

21
#1116 - rats is a cool name / @cd_rum

12/22/2020 at 08:15AM

22
#1117 - aisapatino / @aisapatino

07/27/2015 at 05:02AM

22
#1118 - Ryan Glassett / @rollsavager

09/15/2015 at 03:57PM

22
#1119 - Tj / @yrddy

02/17/2016 at 04:47AM

22
#1120 - Michael Hagl / @MichaelHagl

05/02/2016 at 02:39PM

22
#1121 - Lucas / @luc_4d

10/06/2017 at 08:17PM

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

08/22/2018 at 07:35PM

22
#1123 - Sergio Soares / @sergsoares

04/21/2020 at 10:22PM

23
#1124 - Sébastien Canart / @kokotchY

10/28/2017 at 09:33AM

23
#1125 - Danila Dergachev / @daniladergachev

03/06/2018 at 10:29AM

23
#1126 - z0c / @zerocabal

07/08/2018 at 09:50AM

23
#1127 - Nedko Nedkov / @NedkoNedkov6

12/27/2020 at 10:11PM

24
#1128 - 江裕诚 / @fatjyc

07/14/2015 at 02:56PM

24
#1129 - Feras / @faldah

04/24/2016 at 09:48PM

24
#1130 - Cleberson Gomes / @Cleber_son

08/19/2018 at 08:28PM

24
#1131 - Jurica / @Jurica34581259

11/15/2018 at 12:13AM

24
#1132 - Adrien / @beudbeud

08/09/2019 at 08:57PM

25
#1133 - g10181255 / @g10181255

09/07/2015 at 08:44PM

25
#1134 - Hank Chinaski / @uktechman

04/22/2016 at 04:35PM

25
#1135 - Allen Gooch / @mojochao

01/12/2017 at 07:31PM

25
#1136 - Raul / @Raul50174499

03/30/2019 at 03:23PM

25
#1137 - IHateTweeting999 / @ITweeting999

05/05/2019 at 08:35PM

25
#1138 - jackmark / @jackmar14540583

07/11/2020 at 08:35AM

26
#1139 - Hendrik Lammers / @hendriklammers

07/08/2015 at 06:12PM

26
#1140 - Kyle Fuller / @kylefuller

07/17/2015 at 01:46AM