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

934 active golfers, 3246 entries

Leaderboard (lowest score wins):
14
#481 - Ilya / @izubk0v

08/18/2015 at 09:50AM

14
#482 - Victor Kasatkin / @vikasatkin

09/21/2015 at 04:47AM

14
#483 - Karl August / @ClockworkCoder

09/23/2015 at 12:31PM

14
#484 - Charlie Bevis / @bevis_charlie

10/02/2015 at 08:24PM

14
#485 - Umur Gedik / @umurgdk

10/06/2015 at 01:54PM

14
#486 - Charles Martin / @instinctive

10/07/2015 at 07:32AM

14
#487 - stepvhen / @stepvhen_web

10/17/2015 at 02:22PM

14
#488 - Matthew Desjardins / @Desjardins_M

10/25/2015 at 03:45AM

14
#489 - Pablo Castaneda / @pabloca23116377

11/06/2015 at 03:52PM

14
#490 - Sean Stout / @s183s657

12/09/2015 at 08:19AM

14
#491 - Sheapel User / @sheapeluser

02/01/2016 at 09:32PM

14
#492 - udreki / @udreki

02/07/2016 at 06:55PM

14
#493 - Dylan / @helloasdff

03/03/2016 at 09:25PM

14
#494 - Sébastien Vincent / @shinmei

03/05/2016 at 03:54PM

14
#495 - wk / @wearetherock

03/10/2016 at 05:28PM

14
#496 - Carlos A Henríquez Q / @lagunex

03/15/2016 at 11:06PM

14
#497 - hans peter / @mullovc

03/22/2016 at 09:35PM

14
#498 - Clémence / @Clemence_Neoxia

04/05/2016 at 08:14AM

14
#499 - f00b8tr / @f00b8tr5

04/09/2016 at 05:27AM

14
#500 - Миша Сорокин / @rafmikovi4

04/10/2017 at 09:07AM

14
#501 - Will Gunther / @WillGunther

06/11/2017 at 07:59PM

14
#502 - Obi Wan Kenobi / @ObiWanK02417997

06/16/2017 at 06:36PM

14
#503 - Zel / @Zel98836552

09/08/2017 at 05:49PM

14
#504 - Luke Bryant / @LukeBryant55

10/21/2017 at 11:14AM

14
#505 - popo5colo / @popo5colo1

10/31/2017 at 12:37PM

14
#506 - Florent Jaby / @Floby

04/09/2018 at 04:30PM

14
#507 - Luke Lee / @luke0201

05/06/2018 at 05:03AM

14
#508 - Hugo / @szeyattai

08/19/2018 at 03:46PM

14
#509 - Juliette but spooky / @namebrandloser

11/16/2018 at 08:57PM

14
#510 - 강현 / @Applesquiz

01/22/2019 at 11:16AM