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
#361 - vimgolfdummy / @vimgolfdummy

05/05/2018 at 08:16PM

12
#362 - Sports Fan LaBerge / @BigBoiLaBerge

05/10/2018 at 12:59PM

12
#363 - Matt Aschmann / @ma7hatter

05/24/2018 at 08:44PM

12
#364 - towc / @MateiCopot

05/25/2018 at 09:10AM

12
#365 - Brendan G / @Brendan314

06/06/2018 at 02:30AM

12
#366 - Dylan Nelson / @dlnnlsn

06/08/2018 at 04:08AM

12
#367 - omrisarig / @omrisarig

06/14/2018 at 07:49PM

12
#368 - Daniël De Koker / @daniel_koker

06/17/2018 at 08:36AM

12
#369 - Norbert / @mullno

06/24/2018 at 01:43PM

12
#370 - sspan / @sspantz

07/02/2018 at 08:27AM

12
#371 - Gemille Ford / @gemilleford

07/02/2018 at 11:51PM

12
#372 - Henry Woolenthorpe / @woolenthorpe

07/04/2018 at 01:33AM

12
#373 - Chris Dean / @ChrisDe62379742

07/12/2018 at 03:48AM

12
#374 - Francesco Sacchi / @depsir

07/17/2018 at 07:02AM

12
#375 - 최종원 / @lastone9182

07/17/2018 at 01:51PM

12
#376 - qed / @qed13308565

07/24/2018 at 06:30PM

12
#377 - Andrew Peterson / @FungalRaincloud

07/28/2018 at 10:42PM

12
#378 - O / @O34721877

08/08/2018 at 03:20AM

12
#379 - fucus / @fishlovebanana

08/08/2018 at 08:28AM

12
#380 - Simon Ingelsson / @_DeVVaN_

08/16/2018 at 02:25PM

12
#381 - Roberto Martínez / @nilp0inter

08/27/2018 at 09:56PM

12
#382 - Bart3k / @Bart3k3

09/11/2018 at 04:48PM

12
#383 - Jaakko Hannikainen / @jgke_

09/26/2018 at 11:36AM

12
#384 - Brendan B Amdocs / @AmdocsB

09/26/2018 at 04:49PM

12
#385 - Rasmus Bergström / @JRasmusBm

09/27/2018 at 11:50AM

12
#386 - Roger Bongers / @RogerBongers

10/05/2018 at 08:56PM

12
#387 - jestem króliczkiem / @karlicoss

10/08/2018 at 06:10PM

12
#388 - Benjamin Kiesl / @BenjaminKiesl

10/12/2018 at 01:18PM

12
#389 - Dax / @zacoxi

10/22/2018 at 12:51PM

12
#390 - Dax / @daaawx

10/27/2018 at 11:06PM