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

910 active golfers, 3164 entries

Leaderboard (lowest score wins):
12
#1 - Tim Chase / @gumnos

07/07/2015 at 08:31PM

12
#2 - Urtica dioica / @udioica

07/07/2015 at 08:47PM

12
#3 - Carlos López / @morrizon

07/07/2015 at 10:12PM

12
#4 - Bart / @oneofmanybarts

07/08/2015 at 04:49AM

12
#5 - montalvoMiguel / @imontalvomiguel

07/08/2015 at 06:08AM

12
#6 - Gammelin Guillaume / @ggammelin

07/08/2015 at 06:54AM

12
#7 - Mutter Mumble / @muttermumble

07/08/2015 at 08:09AM

12
#8 - kungfuchad / @kungfuchad

07/08/2015 at 10:50AM

12
#9 - John Braxler / @braxler

07/08/2015 at 02:27PM

12
#10 - Matthieu Crapet / @mcr05

07/08/2015 at 06:27PM

12
#11 - Elizabeth / @sprinkles418

07/08/2015 at 08:29PM

12
#12 - David Willming / @wdialvmeo

07/09/2015 at 04:15AM

12
#13 - SIGHODL / @AssafLavie

07/09/2015 at 05:24AM

12
#14 - pftb12345 / @pftb12345

07/09/2015 at 08:26AM

12
#15 - Geoff Gu / @geoff_gu

07/09/2015 at 12:11PM

12
#16 - Brandon Milam / @jbmilam950

07/09/2015 at 05:22PM

12
#17 - jake romer / @notjakeromer

07/10/2015 at 04:55AM

12
#18 - James Pringle / @mathbyjames

07/10/2015 at 08:49PM

12
#19 - Steffen Köhler / @Baertierchen

07/11/2015 at 09:27PM

12
#20 - Petro Тrouq / @zulolosi

07/12/2015 at 03:45PM

12
#21 - Aaron Fresh / @AaronFresh7

07/13/2015 at 09:09AM

12
#22 - Hans Löfving / @L3E7

07/13/2015 at 10:57PM

12
#23 - Louis Caruana / @louiecaruana

07/15/2015 at 04:25AM

12
#24 - Yuriy / @skriyka

07/15/2015 at 02:03PM

12
#25 - Vim Viking / @vim_viking

07/16/2015 at 11:34PM

12
#26 - walkingsparrow / @walkingsparrow

07/17/2015 at 06:05AM

12
#27 - S.Lebedev / @drasgo

07/17/2015 at 09:16AM

12
#28 - 오종빈(Jongbin Oh) / @ohyecloudy

07/17/2015 at 02:01PM

12
#29 - DJ Lee / @deej337

07/17/2015 at 09:43PM

12
#30 - Ala' Ibrahim / @alaa_ibrahim

07/19/2015 at 05:50AM