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

1053 active golfers, 3684 entries

Leaderboard (lowest score wins):
14
#571 - popo5colo / @popo5colo1

10/31/2017 at 12:37PM

14
#572 - Florent Jaby / @Floby

04/09/2018 at 04:30PM

14
#573 - Luke Lee / @luke0201

05/06/2018 at 05:03AM

14
#574 - Hugo / @szeyattai

08/19/2018 at 03:46PM

14
#575 - Juliette but spooky / @namebrandloser

11/16/2018 at 08:57PM

14
#576 - 강현 / @Applesquiz

01/22/2019 at 11:16AM

14
#577 - Emil Braserud / @Erdustiggen

03/25/2019 at 09:08AM

14
#578 - Crystal L / @Cartsly

07/13/2019 at 09:57PM

14
#579 - Ivo Blöchliger / @aigledesalpes

08/03/2019 at 06:19PM

14
#580 - Rui Xue / @ruirayxue

10/01/2019 at 07:26AM

15
#581 - Steve Tjoa / @stevetjoa

07/07/2015 at 08:44PM

15
#582 - Lifepillar / @lifepillar

07/08/2015 at 08:24AM

15
#583 - Zsolt Fekete / @feketezsolt

07/08/2015 at 04:50PM

15
#584 - Agostino Hernandez / @vimagostino

07/08/2015 at 06:03PM

15
#585 - teilersumme / @teilersumme

07/08/2015 at 11:29PM

15
#586 - François Marais / @maraisf

07/10/2015 at 07:54PM

15
#587 - Marcelo Montu / @_mMontu_

07/16/2015 at 04:35PM

15
#588 - Evan Coleman / @edc1591

07/16/2015 at 04:51PM

15
#589 - Carlos / @lemonpan

07/17/2015 at 01:22PM

15
#590 - Eduardo Antunes / @ecsousa

07/17/2015 at 01:47PM

15
#591 - aze / @aze_rg

07/20/2015 at 05:46AM

15
#592 - Dan Piponi / @sigfpe

07/20/2015 at 09:27PM

15
#593 - codegourmet / @codegourmet

07/22/2015 at 12:56PM

15
#594 - Leo Mehr / @LeoMehr

07/30/2015 at 05:58PM

15
#595 - Roben Kleene / @robenkleene

07/30/2015 at 08:07PM

15
#596 - Hervé Rouault / @hrouault

07/31/2015 at 10:36PM

15
#597 - Eduardo / @earada

08/02/2015 at 04:14AM

15
#598 - Mikołaj Morzy / @MikolajMorzy

08/03/2015 at 02:30PM

15
#599 - Dave Neary / @nearyd

08/12/2015 at 10:38PM

15
#600 - Gafton Paul / @Paul9222

08/17/2015 at 02:28AM