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
#91 - Andreas Carben / @meiner_eins

09/27/2015 at 12:20PM

12
#92 - Walker Boh / @walker_boh

09/27/2015 at 03:29PM

12
#93 - Self Doc Code / @self_doc_code

09/27/2015 at 07:37PM

12
#94 - Jon Krause / @jkrause314

09/29/2015 at 02:27AM

12
#95 - 이 철희 / @leechulhee95

10/02/2015 at 02:16AM

12
#96 - Julian Andrews / @NoLemurs

10/03/2015 at 01:58AM

12
#97 - jan muha / @h4ct1c

10/03/2015 at 06:19PM

12
#98 - Alexander Schlüter / @ArlecksHunt

10/03/2015 at 07:48PM

12
#99 - compuserved / @compuserved

10/04/2015 at 04:34AM

12
#100 - ojung / @oskrjung

10/04/2015 at 09:24AM

12
#101 - Jack Z / @itszhou

10/08/2015 at 04:28PM

12
#102 - ren / @wxoc

10/08/2015 at 08:59PM

12
#103 - Chris Jordan / @chrisjordan_uk

10/09/2015 at 04:50PM

12
#104 - LordFoom / @LordFoom

10/12/2015 at 10:21AM

12
#105 - 朱国栋 / @GuodongZhu

10/13/2015 at 05:01AM

12
#106 - Stani Banani / @Stani_Banani

10/13/2015 at 05:27PM

12
#107 - Jonas Nockert / @lemonad

10/13/2015 at 05:27PM

12
#108 - よぎり / @yogiri_A

10/14/2015 at 10:39AM

12
#109 - Smylers / @Smylers2

10/14/2015 at 02:24PM

12
#110 - Patrick Mitchell / @jpmitche11

10/14/2015 at 03:02PM

12
#111 - Daniel Pham / @dany_pham

10/19/2015 at 04:17PM

12
#112 - Arseny Zarechnev / @evindor

10/22/2015 at 03:59PM

12
#113 - Campbell Davis / @Campbell_Dav

10/24/2015 at 06:58AM

12
#114 - Jacob Steffler / @jacobsteffler

10/25/2015 at 08:40PM

12
#115 - Árpád Krejczinger / @krarpi

10/30/2015 at 03:39PM

12
#116 - lyubarskiy / @lyubarskiy

11/01/2015 at 03:53PM

12
#117 - Julien Grenier / @juliengrenier

11/02/2015 at 02:46PM

12
#118 - herbage / @herbage2

11/07/2015 at 10:10AM

12
#119 - Andy Loomis / @alumux

11/07/2015 at 05:05PM

12
#120 - Faat / @i_faat

11/09/2015 at 04:54PM