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

991 active golfers, 3467 entries

Leaderboard (lowest score wins):
12
#301 - Wang Wu / @rubepeg

05/11/2017 at 01:35PM

12
#302 - James Houghton / @jamesthoughton

05/16/2017 at 03:17PM

12
#303 - Jerry Wu / @AzureSpectra

05/16/2017 at 03:17PM

12
#304 - Jason Villanueva / @Json_V1

05/24/2017 at 07:31AM

12
#305 - Melvin Cheung / @MelvinCheung

05/24/2017 at 08:14AM

12
#306 - BlackCap / @BlackCapCoder

05/24/2017 at 06:39PM

12
#307 - moritz / @moritz45081535

06/18/2017 at 03:06PM

12
#308 - Harsh Kumar / @datsleepyguy

06/25/2017 at 06:24PM

12
#309 - Avian Y / @y_avian

06/27/2017 at 03:39PM

12
#310 - akanb / @GAkt6L6SlKhy8zA

06/28/2017 at 04:28AM

12
#311 - Bennett Bernardoni / @BBernardoni

06/28/2017 at 07:54PM

12
#312 - Pfhor / @PfhorShark

07/01/2017 at 09:24AM

12
#313 - 杨洋 / @176795444

07/01/2017 at 11:16AM

12
#314 - Etai Nativ / @enativ72

07/01/2017 at 01:58PM

12
#315 - Михаил Добров / @mSuGfwFz2ZNvv5b

07/10/2017 at 08:24PM

12
#316 - aa / @aassaad93

07/18/2017 at 04:30AM

12
#317 - Jon Barker / @j0nbarker

07/18/2017 at 10:36AM

12
#318 - huho / @huho_xu

07/31/2017 at 09:45PM

12
#319 - Baine Wedlock / @BaineWedlock

08/13/2017 at 06:01PM

12
#320 - Terry Ding / @TerryDing77

08/23/2017 at 09:43PM

12
#321 - Darren Weston / @dazWestonUK

08/30/2017 at 02:59PM

12
#322 - Дима / @dimkino

09/07/2017 at 07:07AM

12
#323 - 心がポッキー / @lawliteqed

09/07/2017 at 02:40PM

12
#324 - bazkila@gmail.com / @bazkila

09/08/2017 at 08:41AM

12
#325 - Kerson Hsiao / @KersonHsiao

09/13/2017 at 02:01PM

12
#326 - Lajos Koszti / @Ajnasz

09/21/2017 at 01:35PM

12
#327 - garry quested / @GQuested

09/27/2017 at 12:50PM

12
#328 - Povilas Ve / @PofkeVe

10/01/2017 at 06:25PM

12
#329 - Le Lycal / @LeLycal

10/05/2017 at 05:21AM

12
#330 - Chris Atanasian / @ChrisAtanasian

10/12/2017 at 09:05PM