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

1161 active golfers, 4155 entries

Leaderboard (lowest score wins):
22
#1111 - Tj / @yrddy

02/17/2016 at 04:47AM

22
#1112 - Michael Hagl / @MichaelHagl

05/02/2016 at 02:39PM

22
#1113 - Lucas / @luc_4d

10/06/2017 at 08:17PM

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

08/22/2018 at 07:35PM

22
#1115 - Sergio Soares / @sergsoares

04/21/2020 at 10:22PM

23
#1116 - Sébastien Canart / @kokotchY

10/28/2017 at 09:33AM

23
#1117 - Danila Dergachev / @daniladergachev

03/06/2018 at 10:29AM

23
#1118 - z0c / @zerocabal

07/08/2018 at 09:50AM

23
#1119 - Nedko Nedkov / @NedkoNedkov6

12/27/2020 at 10:11PM

24
#1120 - 江裕诚 / @fatjyc

07/14/2015 at 02:56PM

24
#1121 - Feras / @faldah

04/24/2016 at 09:48PM

24
#1122 - Cleberson Gomes / @Cleber_son

08/19/2018 at 08:28PM

24
#1123 - Jurica / @Jurica34581259

11/15/2018 at 12:13AM

24
#1124 - Adrien / @beudbeud

08/09/2019 at 08:57PM

25
#1125 - g10181255 / @g10181255

09/07/2015 at 08:44PM

25
#1126 - Hank Chinaski / @uktechman

04/22/2016 at 04:35PM

25
#1127 - Allen Gooch / @mojochao

01/12/2017 at 07:31PM

25
#1128 - Raul / @Raul50174499

03/30/2019 at 03:23PM

25
#1129 - IHateTweeting999 / @ITweeting999

05/05/2019 at 08:35PM

25
#1130 - jackmark / @jackmar14540583

07/11/2020 at 08:35AM

26
#1131 - Hendrik Lammers / @hendriklammers

07/08/2015 at 06:12PM

26
#1132 - Kyle Fuller / @kylefuller

07/17/2015 at 01:46AM

26
#1133 - Global Maquereau / @GlobalMaquereau

07/21/2015 at 10:59AM

26
#1134 - Paul Roe / @ep_roe

08/25/2016 at 05:37PM

27
#1135 - Kasparas Lavrukaitis / @kaslvr

11/06/2018 at 04:41PM

27
#1136 - Ben Wainwright / @benwainwrightuk

10/02/2020 at 11:47AM

28
#1137 - Nicola A / @aitkenster

07/15/2015 at 02:42PM

28
#1138 - Andrew Michaud / @andrewjmichaud

09/03/2015 at 11:53PM

28
#1139 - Kevin Cooler / @KevinCooler

08/10/2018 at 04:39PM

28
#1140 - Thiago Becker 😷 / @beckert

08/01/2020 at 12:22AM