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

1167 active golfers, 4184 entries

Leaderboard (lowest score wins):
17
#991 - __VimGolfer__ / @VimGolfer19

11/26/2020 at 06:51PM

17
#992 - naomi (forgetful functor) / @fixedpointfae

03/29/2022 at 02:26AM

18
#993 - Jason Nesbitt / @compilejason

07/07/2015 at 08:04PM

18
#994 - Wandering ponderer / @0proxycon

07/11/2015 at 11:18PM

18
#995 - Joshua Simmons / @MmnJoshua

07/13/2015 at 01:36PM

18
#996 - Raj / @brshenoy

07/16/2015 at 05:02PM

18
#997 - Alok Singh / @TheRevAlokSingh

07/20/2015 at 06:37PM

18
#998 - Vincent Yu / @vyuniverse

07/21/2015 at 03:25AM

18
#999 - Aku Laatokka / @Retiici

07/23/2015 at 08:17PM

18
#1000 - darookee / @darookee

07/24/2015 at 09:11AM

18
#1001 - Endre Galaczi / @galacziendre

07/26/2015 at 02:41PM

18
#1002 - Brian Gapinski / @Xechas

07/28/2015 at 07:08PM

18
#1003 - Rickard Fransson / @xxRion

08/05/2015 at 11:59AM

18
#1004 - Filipe Silva / @filipetwits

08/07/2015 at 12:35AM

18
#1005 - luffy / @raxcoi

08/13/2015 at 04:24PM

18
#1006 - Kalle Aaltonen / @kalleaaltonen

08/17/2015 at 09:02PM

18
#1007 - Shun / @shunasnetian

08/19/2015 at 03:38PM

18
#1008 - Sergey Semushin / @Predelnik

08/23/2015 at 11:09AM

18
#1009 - Hisco / @francis_vega

09/03/2015 at 02:58PM

18
#1010 - Gabriel Florit / @gabrielflorit

09/05/2015 at 08:52AM

18
#1011 - Yaroslav Kanarev / @yarosurabu

09/07/2015 at 12:51PM

18
#1012 - Ali Moeeny MD PhD / @alimoeeny

09/15/2015 at 12:58PM

18
#1013 - Kiet Nguyen / @kietnguyen86

09/29/2015 at 02:13PM

18
#1014 - Adam Cook / @apcook

10/02/2015 at 07:02PM

18
#1015 - Japan Daily Deals / @JapanDailyDeals

10/06/2015 at 10:07PM

18
#1016 - Lošmi / @loshmibbq

10/08/2015 at 09:58AM

18
#1017 - a / @robbietron

10/11/2015 at 04:36AM

18
#1018 - coltruindie / @e10nevwa

10/13/2015 at 04:31PM

18
#1019 - Wilmer Bandres / @WilmerBandres

12/01/2015 at 12:19PM

18
#1020 - かりうむ / @ka1l

12/03/2015 at 02:32AM